diff --git a/src/actors.js b/src/actors.js index 683ba40..4e3ed4a 100644 --- a/src/actors.js +++ b/src/actors.js @@ -125,7 +125,7 @@ function mergeMainProfile(profile, mainProfile) { return mergedProfile; } -export async function interpolateProfiles(actorIdsOrNames, context) { +async function interpolateProfiles(actorIdsOrNames, context) { const profiles = await fetchProfiles(actorIdsOrNames, context); const profilesByActorId = profiles.reduce((acc, profile) => ({ @@ -274,3 +274,7 @@ export async function interpolateProfiles(actorIdsOrNames, context) { .then(transaction.commit) .catch(transaction.rollback); } + +module.exports = { + interpolateProfiles, +};