mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-07 13:15:28 +02:00
Minor updates to FileEntry / oputil
This commit is contained in:
parent
d7aabba847
commit
63b5eed504
2 changed files with 25 additions and 2 deletions
|
@ -319,7 +319,7 @@ function getFileEntries(pattern, cb) {
|
|||
return callback(null, entries); // already got it by FILE_ID
|
||||
}
|
||||
|
||||
FileEntry.findFileBySha(pattern, (err, fileEntry) => {
|
||||
FileEntry.findBySha(pattern, (err, fileEntry) => {
|
||||
return callback(null, fileEntry ? [ fileEntry ] : null );
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue