From 98b903b314e01a36e13ea3972b76a28be6c0e97a Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Wed, 11 Sep 2024 16:19:59 +0200 Subject: [PATCH] feat(SW-251): add input --- .../(public)/hotelreservation/select-hotel/page.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/[lang]/(live)/(public)/hotelreservation/select-hotel/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/select-hotel/page.tsx index 032ff30f0..634c4cf1c 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/select-hotel/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/select-hotel/page.tsx @@ -20,12 +20,20 @@ async function getAvailableHotels({ roomStayStartDate, roomStayEndDate, adults, + children, + promotionCode, + attachedProfileId, + reservationProfileType, }: AvailabilityInput): Promise { const getAvailableHotels = await serverClient().hotel.availability.get({ cityId: cityId, roomStayStartDate: roomStayStartDate, roomStayEndDate: roomStayEndDate, adults: adults, + children: children, + promotionCode: promotionCode, + attachedProfileId: attachedProfileId, + reservationProfileType: reservationProfileType, }) if (!getAvailableHotels) return null