Update add-file.ts
This commit is contained in:
@ -119,7 +119,7 @@ const addFile = async (
|
||||
const much = await DriveFile.findOne({
|
||||
md5: hash,
|
||||
'metadata.userId': user._id,
|
||||
deletedAt: { $exists: false }
|
||||
'metadata.deletedAt': { $exists: false }
|
||||
});
|
||||
|
||||
if (much !== null) {
|
||||
|
Reference in New Issue
Block a user