Removed legacy comment.

This commit is contained in:
DebaucheryLibrarian 2021-02-19 00:45:27 +01:00
parent 3ad9a359f4
commit 39e2abd80a
1 changed files with 0 additions and 8 deletions

View File

@ -909,16 +909,8 @@ async function associateActors(releases, batchId) {
}), {}); }), {});
const uniqueBaseActors = Object.values(baseActorsBySlug); const uniqueBaseActors = Object.values(baseActorsBySlug);
const actors = await getOrCreateActors(uniqueBaseActors, batchId); 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) => ({ const actorIdsByEntityIdEntryIdAndSlug = actors.reduce((acc, actor) => ({
...acc, ...acc,
[actor.entity_id]: { [actor.entity_id]: {