Updated actors common path.

This commit is contained in:
DebaucheryLibrarian 2024-10-22 03:13:03 +02:00
parent 8790992ed3
commit c307140db3
2 changed files with 5 additions and 2 deletions

2
common

@ -1 +1 @@
Subproject commit 0e8282169c7c1346bf28ba6af0353f3b7418132b
Subproject commit 40011a62dae9da8deda71e9f8daf39665a8b7958

View File

@ -27,7 +27,8 @@ const { toBaseReleases } = require('./deep');
const { associateAvatars, flushOrphanedMedia } = require('./media');
const { fetchEntitiesBySlug } = require('./entities');
const { deleteScenes } = require('./releases');
const { interpolateProfiles: interpolateProfilesUtil } = require('../common/actors.cjs');
const actorsCommon = import('../common/actors.mjs'); // eslint-disable-line import/extensions, import/no-relative-packages
const slugify = require('./utils/slugify');
const capitalize = require('./utils/capitalize');
@ -419,6 +420,8 @@ function mergeMainProfile(profile, mainProfile) {
*/
async function interpolateProfiles(actorIdsOrNames) {
const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon;
try {
await interpolateProfilesUtil(actorIdsOrNames, {
knex,