forked from DebaucheryLibrarian/traxxx
Reduced stash load verbosity.
This commit is contained in:
parent
a16ca716da
commit
1fc441670b
|
@ -63,7 +63,9 @@ async function importReleases(type, stash, user, filename) {
|
||||||
.onConflict(['stash_id', `${curatedType}_id`])
|
.onConflict(['stash_id', `${curatedType}_id`])
|
||||||
.ignore();
|
.ignore();
|
||||||
|
|
||||||
|
if (args.logLevel === 'verbose') {
|
||||||
console.log(`Imported ${stash.username} stash ${release.entity_name} ${curatedType} "${scene.title}"`);
|
console.log(`Imported ${stash.username} stash ${release.entity_name} ${curatedType} "${scene.title}"`);
|
||||||
|
}
|
||||||
}, Promise.resolve());
|
}, Promise.resolve());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +100,9 @@ async function importActors(stash, user, filename) {
|
||||||
.onConflict(['stash_id', 'actor_id'])
|
.onConflict(['stash_id', 'actor_id'])
|
||||||
.ignore();
|
.ignore();
|
||||||
|
|
||||||
|
if (args.logLevel === 'verbose') {
|
||||||
console.log(`Imported ${stash.username} stash actor "${actorEntry.name}"`);
|
console.log(`Imported ${stash.username} stash actor "${actorEntry.name}"`);
|
||||||
|
}
|
||||||
}, Promise.resolve());
|
}, Promise.resolve());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue