diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-13 01:17:44 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-13 01:17:44 +0900 |
| commit | 54dc1afc99baa754dbb9e25e992fce0dc78b178a (patch) | |
| tree | 7e86826fef7eba74ab05ce8bbe3d4648b58a1847 /src/api | |
| parent | [Test] Add some tests (diff) | |
| download | sharkey-54dc1afc99baa754dbb9e25e992fce0dc78b178a.tar.gz sharkey-54dc1afc99baa754dbb9e25e992fce0dc78b178a.tar.bz2 sharkey-54dc1afc99baa754dbb9e25e992fce0dc78b178a.zip | |
[API] Fix bug
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/endpoints/drive/files/update.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/drive/files/update.js b/src/api/endpoints/drive/files/update.js index 612d380955..74ff012ecb 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; |