1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-02-27 10:54:25 -06:00

Update add-file.ts

This commit is contained in:
syuilo 2018-05-14 12:47:33 +09:00
parent f5d2cb5c61
commit 1641d6bce2

View file

@ -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) {