mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 01:50:45 +01:00
Update add-file.ts
This commit is contained in:
parent
f5d2cb5c61
commit
1641d6bce2
1 changed files with 1 additions and 1 deletions
|
@ -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