From 3efa303d207951652ff09152c2a7121c3b7124a9 Mon Sep 17 00:00:00 2001 From: Hrishikesh Vaipurkar Date: Wed, 19 Mar 2025 11:21:31 +0100 Subject: [PATCH] feat: SW-1589 Updated to .nullish() --- apps/scandic-web/server/routers/booking/input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/scandic-web/server/routers/booking/input.ts b/apps/scandic-web/server/routers/booking/input.ts index 33c034938..602d592ae 100644 --- a/apps/scandic-web/server/routers/booking/input.ts +++ b/apps/scandic-web/server/routers/booking/input.ts @@ -7,7 +7,7 @@ const roomsSchema = z .array( z.object({ adults: z.number().int().nonnegative(), - bookingCode: z.string().optional(), + bookingCode: z.string().nullish(), childrenAges: z .array( z.object({