mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 09:36:02 -07:00
[API] Fix bug
This commit is contained in:
parent
97eae15b2d
commit
56a7fcf82e
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ module.exports = (params, user) =>
|
||||||
});
|
});
|
||||||
|
|
||||||
if (folder === null) {
|
if (folder === null) {
|
||||||
return reject('folder-not-found');
|
return rej('folder-not-found');
|
||||||
}
|
}
|
||||||
|
|
||||||
file.folder_id = folder._id;
|
file.folder_id = folder._id;
|
||||||
|
|
Loading…
Reference in a new issue