From eb5dd49981f3a571046bbc7167169b86ec5ddaf2 Mon Sep 17 00:00:00 2001 From: Bianca Widstam Date: Wed, 20 Nov 2024 13:39:52 +0000 Subject: [PATCH] Merged in fix/SW-955-restaurantsOverviewPage-attributes-optional (pull request #943) fix(SW-955): restaurantsOverviewPage atttributes optional * fix(SW-955): restaurantsOverviewPage atttributes optional Approved-by: Pontus Dreij --- server/routers/hotels/output.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/routers/hotels/output.ts b/server/routers/hotels/output.ts index 41f9a6b52..d383d5628 100644 --- a/server/routers/hotels/output.ts +++ b/server/routers/hotels/output.ts @@ -112,10 +112,10 @@ const hotelContentSchema = z.object({ }), }), restaurantsOverviewPage: z.object({ - restaurantsOverviewPageLinkText: z.string(), - restaurantsOverviewPageLink: z.string(), - restaurantsContentDescriptionShort: z.string(), - restaurantsContentDescriptionMedium: z.string(), + restaurantsOverviewPageLinkText: z.string().optional(), + restaurantsOverviewPageLink: z.string().optional(), + restaurantsContentDescriptionShort: z.string().optional(), + restaurantsContentDescriptionMedium: z.string().optional(), }), })