Updated actors common path.
This commit is contained in:
parent
8790992ed3
commit
c307140db3
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 0e8282169c7c1346bf28ba6af0353f3b7418132b
|
Subproject commit 40011a62dae9da8deda71e9f8daf39665a8b7958
|
|
@ -27,7 +27,8 @@ const { toBaseReleases } = require('./deep');
|
||||||
const { associateAvatars, flushOrphanedMedia } = require('./media');
|
const { associateAvatars, flushOrphanedMedia } = require('./media');
|
||||||
const { fetchEntitiesBySlug } = require('./entities');
|
const { fetchEntitiesBySlug } = require('./entities');
|
||||||
const { deleteScenes } = require('./releases');
|
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 slugify = require('./utils/slugify');
|
||||||
const capitalize = require('./utils/capitalize');
|
const capitalize = require('./utils/capitalize');
|
||||||
|
@ -419,6 +420,8 @@ function mergeMainProfile(profile, mainProfile) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
async function interpolateProfiles(actorIdsOrNames) {
|
async function interpolateProfiles(actorIdsOrNames) {
|
||||||
|
const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await interpolateProfilesUtil(actorIdsOrNames, {
|
await interpolateProfilesUtil(actorIdsOrNames, {
|
||||||
knex,
|
knex,
|
||||||
|
|
Loading…
Reference in New Issue