mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 05:23:08 +02:00
Better log
This commit is contained in:
parent
cc6fa135ac
commit
22a1dc0566
1 changed files with 2 additions and 2 deletions
|
@ -164,8 +164,8 @@ export default async function(
|
||||||
'metadata.deletedAt': { $exists: false }
|
'metadata.deletedAt': { $exists: false }
|
||||||
});
|
});
|
||||||
|
|
||||||
if (much !== null) {
|
if (much) {
|
||||||
log('file with same hash is found');
|
log(`file with same hash is found: ${much._id}`);
|
||||||
return much;
|
return much;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue