From 3d6c5e2a5282b2187b23b108366b9d19ce3a5879 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Tue, 9 Jun 2026 03:13:36 +0200 Subject: [PATCH] Preserving database meta fields in profile interpolation. --- actors.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actors.mjs b/actors.mjs index 945c26f..85e9982 100644 --- a/actors.mjs +++ b/actors.mjs @@ -80,7 +80,7 @@ function mergeMainProfile(profile, mainProfile) { export async function interpolateProfiles(actorIdsOrNames, context, options = {}) { const profiles = await fetchProfiles(actorIdsOrNames, context); const columns = await context.knex.table('actors').columnInfo().then((table) => Object.keys(table)); - const preservedKeys = ['id', 'name', 'slug', 'entity_id', 'entry_id']; + const preservedKeys = ['id', 'name', 'slug', 'entity_id', 'entry_id', 'alias_for', 'created_at', 'batch_id', 'updated_at', 'comment']; const profilesByActorId = profiles.reduce((acc, profile) => ({ ...acc,