Better log
This commit is contained in:
parent
deb355ff5e
commit
471d01ef2c
1 changed files with 2 additions and 2 deletions
|
@ -164,8 +164,8 @@ export default async function(
|
|||
'metadata.deletedAt': { $exists: false }
|
||||
});
|
||||
|
||||
if (much !== null) {
|
||||
log('file with same hash is found');
|
||||
if (much) {
|
||||
log(`file with same hash is found: ${much._id}`);
|
||||
return much;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue