From 39e2abd80aaaca0c80884a78135bbb72be7dd238 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Fri, 19 Feb 2021 00:45:27 +0100 Subject: [PATCH] Removed legacy comment. --- src/actors.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/actors.js b/src/actors.js index 3f5146cc..76d7c491 100644 --- a/src/actors.js +++ b/src/actors.js @@ -909,16 +909,8 @@ async function associateActors(releases, batchId) { }), {}); const uniqueBaseActors = Object.values(baseActorsBySlug); - const actors = await getOrCreateActors(uniqueBaseActors, batchId); - /* - const actorIdsBySlug = actors.reduce((acc, actor) => ({ - ...acc, - [actor.slug]: actor.alias_for || actor.id, - }), {}); - */ - const actorIdsByEntityIdEntryIdAndSlug = actors.reduce((acc, actor) => ({ ...acc, [actor.entity_id]: {