From e16a02453e44b140ff015ec9350d68da2887d4e1 Mon Sep 17 00:00:00 2001 From: codex Date: Sun, 1 Feb 2026 18:49:00 +0100 Subject: [PATCH] fix(staging): hoist ensurePublicSelectTable in hasura bootstrap --- kustomize/base/hasura/hasura-bootstrap.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kustomize/base/hasura/hasura-bootstrap.mjs b/kustomize/base/hasura/hasura-bootstrap.mjs index 25488f4..a982154 100644 --- a/kustomize/base/hasura/hasura-bootstrap.mjs +++ b/kustomize/base/hasura/hasura-bootstrap.mjs @@ -236,7 +236,7 @@ async function main() { }); }; - const ensurePublicSelectTable = async (table, columns) => { + async function ensurePublicSelectTable(table, columns) { await metadataIgnore({ type: 'pg_untrack_table', args: { source, table } }); await metadata({ type: 'pg_track_table', args: { source, table } }); @@ -257,7 +257,7 @@ async function main() { // Computed/archived tables are written by workers using admin secret; keep ingestor off by default. await metadataIgnore({ type: 'pg_drop_insert_permission', args: { source, table, role: 'ingestor' } }); await metadataIgnore({ type: 'pg_drop_update_permission', args: { source, table, role: 'ingestor' } }); - }; + } await ensureDlobTable(dlobL2LatestTable, [ 'market_name',