From 879a383b61e01892ce64f2d0bb650efe3ff24746 Mon Sep 17 00:00:00 2001 From: Anton Gunnarsson Date: Mon, 9 Jun 2025 09:06:26 +0000 Subject: [PATCH] Merged in fix/make-city-optional-in-parseSelectHotelSearchParams (pull request #2309) fix: Make city optional in parseSelectHotelSearchParams * Make city optional in parseSelectHotelSearchParams Approved-by: Linus Flood --- apps/scandic-web/utils/url.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/scandic-web/utils/url.ts b/apps/scandic-web/utils/url.ts index 588fe681a..633075170 100644 --- a/apps/scandic-web/utils/url.ts +++ b/apps/scandic-web/utils/url.ts @@ -106,7 +106,7 @@ export function parseSelectHotelSearchParams( keyRenameMap, typeHints, schema: z.object({ - city: z.string(), + city: z.string().optional(), hotelId: z.string().optional(), fromDate: z.string(), toDate: z.string(),