Update add-file.ts
This commit is contained in:
parent
f5d2cb5c61
commit
1641d6bce2
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue