From 997f928f2b44fbad487cc7f058a4c546c9052db4 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Thu, 28 Aug 2025 08:12:52 +0000 Subject: [PATCH] fix(SW-3028): Using hero heading instead of heading for campaign hero on hotel pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Approved-by: Matilda Landström --- packages/trpc/lib/routers/contentstack/campaignPage/output.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/trpc/lib/routers/contentstack/campaignPage/output.ts b/packages/trpc/lib/routers/contentstack/campaignPage/output.ts index 1bded036a..67bc0dce2 100644 --- a/packages/trpc/lib/routers/contentstack/campaignPage/output.ts +++ b/packages/trpc/lib/routers/contentstack/campaignPage/output.ts @@ -218,7 +218,7 @@ export const campaignPagesByHotelUidSchema = z hero: { ...hero, image: (heroImage || cardContentImage) as ImageVaultAsset, - heading, + heading: hero.heading || card_content?.heading || heading, }, } }