From fd7630443e702fc46803553bf9c0b3b272058067 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Tue, 22 Oct 2024 02:20:01 +0200 Subject: [PATCH] Changed to CJS. --- src/actors.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, +};