[object Object]

← back to Designer Wallcoverings

Fix engOf label: recognize -real rooms (cosmetic; correct files already pushed)

5d0a3818ec04d16b82d3f3a5f3430d6b0303354b · 2026-07-07 12:35:56 -0700 · Steve

Files touched

Diff

commit 5d0a3818ec04d16b82d3f3a5f3430d6b0303354b
Author: Steve <steve@designerwallcoverings.com>
Date:   Tue Jul 7 12:35:56 2026 -0700

    Fix engOf label: recognize -real rooms (cosmetic; correct files already pushed)
---
 .../carl-robinson-viewer/room-engines/push_rooms_shopify.cjs            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/wallquest-refresh/carl-robinson-viewer/room-engines/push_rooms_shopify.cjs b/scripts/wallquest-refresh/carl-robinson-viewer/room-engines/push_rooms_shopify.cjs
index 65692566..b2c044c1 100644
--- a/scripts/wallquest-refresh/carl-robinson-viewer/room-engines/push_rooms_shopify.cjs
+++ b/scripts/wallquest-refresh/carl-robinson-viewer/room-engines/push_rooms_shopify.cjs
@@ -27,7 +27,7 @@ function rest(method, path, body) {
   });
 }
 // engine derived from the chosen room's filename (decoupled from apply_winners schema)
-const engOf = room => room.includes('-kontext') ? 'kontext' : room.includes('-sdxl') ? 'sdxl' : 'gemini';
+const engOf = room => room.includes('-real') ? 'real' : room.includes('-kontext') ? 'kontext' : room.includes('-sdxl') ? 'sdxl' : 'gemini';
 const q = `SELECT dw_sku, shopify_product_id, COALESCE((room_setting_images::jsonb)->>0,'') FROM ${CATALOG} WHERE shopify_product_id IS NOT NULL ORDER BY dw_sku`;
 const rows = execSync(`psql "${CONN}" -tAc "${q}"`, { encoding: 'utf8' }).trim().split('\n').filter(Boolean)
   .map(l => { const [sku, pid, room] = l.split('|'); return { sku, pid, room, eng: engOf(room || '') }; });

← ae1c8df7 auto-save: 2026-07-07T12:30:21 (3 files) — pending-approval/  ·  back to Designer Wallcoverings  ·  cadence: QH fabric brands (Quadrille/Home Couture/Charles Bu 51a09038 →