Skip to content
Snippets Groups Projects
Commit 1641d6bc authored by syuilo's avatar syuilo
Browse files

Update add-file.ts

parent f5d2cb5c
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment