mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-28 23:09:16 +09:00
Fix bug
This commit is contained in:
parent
1067bef7d6
commit
9e4b061ed0
@ -22,7 +22,8 @@ export default async (params: any, user: ILocalUser) => {
|
||||
const file = await DriveFile
|
||||
.findOne({
|
||||
_id: fileId,
|
||||
'metadata.userId': user._id
|
||||
'metadata.userId': user._id,
|
||||
'metadata.deletedAt': { $exists: false }
|
||||
});
|
||||
|
||||
if (file === null) {
|
||||
|
Loading…
Reference in New Issue
Block a user