mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Update add-file.ts
This commit is contained in:
parent
5dbc9a1ac8
commit
7f17a44078
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…
Add table
Reference in a new issue