fix: reconcile branding tests + chat-display types (integration of wave agents)

This commit is contained in:
glass beadian 2026-10-14 18:07:26 +00:00
parent cbdb8c0f81
commit 4b249e3811
2 changed files with 146 additions and 47 deletions

View file

@ -134,7 +134,7 @@ export class ChatDisplayService {
ON CONFLICT (workspace_id, key) DO UPDATE SET value = EXCLUDED.value, updated_at = now(), updated_by = EXCLUDED.updated_by`,
[workspaceId, key, String(value), actor.userId],
);
diff[key] = { from: (before as Record<string, unknown>)[key], to: value };
diff[key] = { from: (before as unknown as Record<string, unknown>)[key], to: value };
}
await client.query(
"SELECT audit_append($1, $2, $3, $4, $5, $6, $7)",