[API] Fix bug
This commit is contained in:
parent
3fd2a68a45
commit
6026ef6d71
3 changed files with 16 additions and 3 deletions
|
|
@ -100,7 +100,10 @@ module.exports = (params, user) =>
|
|||
|
||||
// Update
|
||||
DriveFolder.update(folder._id, {
|
||||
$set: folder
|
||||
$set: {
|
||||
name: folder.name,
|
||||
parent_id: folder.parent_id
|
||||
}
|
||||
});
|
||||
|
||||
// Serialize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue