mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
[API] Fix bug
This commit is contained in:
parent
76887f371b
commit
54dc1afc99
@ -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 New Issue
Block a user