[API] Fix bug

This commit is contained in:
syuilo 2017-02-13 01:17:44 +09:00
parent 76887f371b
commit 54dc1afc99

View file

@ -74,7 +74,7 @@ module.exports = (params, user) =>
});
if (folder === null) {
return reject('folder-not-found');
return rej('folder-not-found');
}
file.folder_id = folder._id;