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",