From 3b68d3471eccbd3bf11fe1493f0a68717b524be2 Mon Sep 17 00:00:00 2001 From: Pontus Dreij Date: Mon, 27 Jan 2025 10:24:00 +0100 Subject: [PATCH] fix: Removed double check --- server/routers/hotels/query.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/routers/hotels/query.ts b/server/routers/hotels/query.ts index 767e92435..907d80cea 100644 --- a/server/routers/hotels/query.ts +++ b/server/routers/hotels/query.ts @@ -395,7 +395,7 @@ export const hotelQueryRouter = router({ roomStayEndDate, adults, children, - bookingCode: bookingCode ?? undefined, + bookingCode, error_type: "validation_error", error: JSON.stringify(validateAvailabilityData.error), }) @@ -414,7 +414,7 @@ export const hotelQueryRouter = router({ roomStayEndDate, adults, children, - bookingCode: bookingCode ?? undefined, + bookingCode, }) console.info( "api.hotels.roomsAvailability success",