forked from DebaucheryLibrarian/traxxx
Fixed existing stash selection in transfer tool.
This commit is contained in:
@@ -38,10 +38,6 @@ async function save() {
|
||||
.leftJoin('entities', 'entities.id', 'actors.entity_id')
|
||||
.where('stashes_actors.stash_id', stash.id);
|
||||
|
||||
console.log('scenes', scenes);
|
||||
console.log('movies', movies);
|
||||
console.log('actors', actors);
|
||||
|
||||
const curatedStash = JSON.stringify({
|
||||
username: stash.username,
|
||||
name: stash.name,
|
||||
@@ -73,6 +69,8 @@ async function save() {
|
||||
|
||||
await fs.promises.appendFile(filename, `${curatedStash}\n`);
|
||||
|
||||
console.log(`Saved ${stash.username} stash ${stash.name}`);
|
||||
|
||||
savedStashes += 1;
|
||||
}, Promise.resolve([]));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user