mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-27 22:38:30 +09:00
Better log
This commit is contained in:
parent
cc6fa135ac
commit
22a1dc0566
@ -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 New Issue
Block a user