[API] Fix bug

This commit is contained in:
syuilo
2017-02-09 02:20:47 +09:00
parent 3fd2a68a45
commit 6026ef6d71
3 changed files with 16 additions and 3 deletions

View File

@@ -77,7 +77,10 @@ module.exports = (params, user) =>
}
DriveFile.update(file._id, {
$set: file
$set: {
name: file.name,
folder_id: file.folder_id
}
});
// Serialize