mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 05:26:03 +02:00
[API] Fix bug
This commit is contained in:
@@ -76,7 +76,9 @@ module.exports = (params, user) =>
|
||||
}
|
||||
}
|
||||
|
||||
DriveFile.update(file._id, file);
|
||||
DriveFile.update(file._id, {
|
||||
$set: file
|
||||
});
|
||||
|
||||
// Serialize
|
||||
const fileObj = await serialize(file);
|
||||
|
||||
Reference in New Issue
Block a user