From 56a7fcf82e61dbb2a79b23197a54594d289b0bfc 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;