Updated all dependencies. Updated MindGeek to Aylo.
This commit is contained in:
@@ -897,7 +897,7 @@ async function scrapeActors(argNames) {
|
||||
|
||||
const newBaseActors = baseActors.filter((baseActor) => !existingActorEntriesBySlugAndEntryId[baseActor.slug]?.[baseActor.entryId]);
|
||||
|
||||
const [batchId] = newBaseActors.length > 0 ? await knex('batches').insert({ comment: null }).returning('id') : [null];
|
||||
const [{ id: batchId }] = newBaseActors.length > 0 ? await knex('batches').insert({ comment: null }).returning('id') : [{ id: null }];
|
||||
const curatedActorEntries = batchId && curateActorEntries(newBaseActors, batchId);
|
||||
|
||||
// TODO: associate entity when entry ID is provided
|
||||
|
||||
Reference in New Issue
Block a user