Passing refresh view parameter into profile interpolator. Updated Got Filled and Inserted API keys.

This commit is contained in:
DebaucheryLibrarian
2024-10-25 00:56:35 +02:00
parent 928f872044
commit 81d2217fdc
5 changed files with 29 additions and 7 deletions

View File

@@ -360,7 +360,7 @@ async function fetchProfiles(actorIdsOrNames) {
.leftJoin('media', 'actors_profiles.avatar_media_id', 'media.id');
}
async function interpolateProfiles(actorIdsOrNames) {
async function interpolateProfiles(actorIdsOrNames, refreshView) {
const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon;
try {
@@ -370,7 +370,7 @@ async function interpolateProfiles(actorIdsOrNames) {
moment,
slugify,
omit,
});
}, { refreshView });
} catch (error) {
console.log(error);
}

View File

@@ -122,7 +122,7 @@ async function init() {
}
if (argv.interpolateProfiles) {
await interpolateProfiles(argv.interpolateProfiles.length > 0 ? argv.interpolateProfiles : null);
await interpolateProfiles(argv.interpolateProfiles.length > 0 ? argv.interpolateProfiles : null, true);
}
if (argv.flushActors) {