Fix bug
This commit is contained in:
parent
caa8aee7a0
commit
9f81288fcc
48 changed files with 91 additions and 140 deletions
|
|
@ -74,9 +74,7 @@ module.exports = (params, user) =>
|
|||
}
|
||||
}
|
||||
|
||||
DriveFile.updateOne({ _id: file._id }, {
|
||||
$set: file
|
||||
});
|
||||
DriveFile.update(file._id, file);
|
||||
|
||||
// Serialize
|
||||
const fileObj = await serialize(file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue