forked from DebaucheryLibrarian/traxxx
Removed legacy comment.
This commit is contained in:
parent
3ad9a359f4
commit
39e2abd80a
|
@ -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]: {
|
||||||
|
|
Loading…
Reference in New Issue