Passing refresh view parameter into profile interpolator. Updated Got Filled and Inserted API keys.
This commit is contained in:
parent
928f872044
commit
81d2217fdc
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit f69e343d8941b83e706c6af05e74be54e87d85a6
|
Subproject commit c068c759b2bb62fad44c87226a780532b771479b
|
|
@ -0,0 +1,19 @@
|
||||||
|
function createColumns(table) {
|
||||||
|
table.enum('boobs_incision', ['mammary', 'areolar', 'crescent', 'lollipop', 'anchor', 'axillary', 'umbilical']);
|
||||||
|
table.boolean('natural_labia');
|
||||||
|
}
|
||||||
|
|
||||||
|
exports.up = async (knex) => {
|
||||||
|
await knex.schema.alterTable('actors', createColumns);
|
||||||
|
await knex.schema.alterTable('actors_profiles', createColumns);
|
||||||
|
};
|
||||||
|
|
||||||
|
function dropColumns(table) {
|
||||||
|
table.dropColumn('boobs_incision');
|
||||||
|
table.dropColumn('natural_labia');
|
||||||
|
}
|
||||||
|
|
||||||
|
exports.down = async (knex) => {
|
||||||
|
await knex.schema.alterTable('actors', dropColumns);
|
||||||
|
await knex.schema.alterTable('actors_profiles', dropColumns);
|
||||||
|
};
|
|
@ -15755,7 +15755,8 @@ const sites = [
|
||||||
parent: 'radical',
|
parent: 'radical',
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: 'api',
|
layout: 'api',
|
||||||
endpoint: 'QrQe_TF3broC5P80XTIbd',
|
// endpoint: 'QrQe_TF3broC5P80XTIbd',
|
||||||
|
endpoint: 'E06HaYWbvDg4UG8fIsSi2',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -15766,7 +15767,8 @@ const sites = [
|
||||||
parent: 'radical',
|
parent: 'radical',
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: 'api',
|
layout: 'api',
|
||||||
endpoint: 'nOpFJJgD_-c5PrBqecVXA',
|
// endpoint: 'nOpFJJgD_-c5PrBqecVXA',
|
||||||
|
endpoint: 'GUZuXniB1KVJwF9ZDWiRe',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -15777,7 +15779,8 @@ const sites = [
|
||||||
parent: 'radical',
|
parent: 'radical',
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: 'api',
|
layout: 'api',
|
||||||
endpoint: 'fnkMPhO2Gd-XwWTZHyftg',
|
// endpoint: 'fnkMPhO2Gd-XwWTZHyftg',
|
||||||
|
endpoint: 'K9_0ysd-cpgwtSaZ8_nPT',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// REALITY KINGS
|
// REALITY KINGS
|
||||||
|
|
|
@ -360,7 +360,7 @@ async function fetchProfiles(actorIdsOrNames) {
|
||||||
.leftJoin('media', 'actors_profiles.avatar_media_id', 'media.id');
|
.leftJoin('media', 'actors_profiles.avatar_media_id', 'media.id');
|
||||||
}
|
}
|
||||||
|
|
||||||
async function interpolateProfiles(actorIdsOrNames) {
|
async function interpolateProfiles(actorIdsOrNames, refreshView) {
|
||||||
const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon;
|
const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -370,7 +370,7 @@ async function interpolateProfiles(actorIdsOrNames) {
|
||||||
moment,
|
moment,
|
||||||
slugify,
|
slugify,
|
||||||
omit,
|
omit,
|
||||||
});
|
}, { refreshView });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
|
|
|
@ -122,7 +122,7 @@ async function init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argv.interpolateProfiles) {
|
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) {
|
if (argv.flushActors) {
|
||||||
|
|
Loading…
Reference in New Issue