From 54dc1afc99baa754dbb9e25e992fce0dc78b178a Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 13 Feb 2017 01:17:44 +0900 Subject: [PATCH] [API] Fix bug --- src/api/endpoints/drive/files/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/endpoints/drive/files/update.js b/src/api/endpoints/drive/files/update.js index 612d38095..74ff012ec 100644 --- a/src/api/endpoints/drive/files/update.js +++ b/src/api/endpoints/drive/files/update.js @@ -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;