diff --git a/components/HotelReservation/BookingConfirmation/index.tsx b/components/HotelReservation/BookingConfirmation/index.tsx index 91ee99d35..5b18eb2e1 100644 --- a/components/HotelReservation/BookingConfirmation/index.tsx +++ b/components/HotelReservation/BookingConfirmation/index.tsx @@ -19,7 +19,7 @@ export default async function BookingConfirmation({ }: BookingConfirmationProps) { const bookingConfirmation = await bookingConfirmationPromise - const { booking, hotel } = bookingConfirmation + const { booking, hotel, room } = bookingConfirmation const arrivalDate = new Date(booking.checkInDate) const departureDate = new Date(booking.checkOutDate) @@ -61,7 +61,7 @@ export default async function BookingConfirmation({ totalPrice: booking.totalPrice, //specialRoomType: getSpecialRoomType(booking.packages), TODO: Add //roomTypeName: booking.roomTypeCode ?? undefined, TODO: Do we get the name? - //bedType: bedType?.description, TODO: Can we get bedType? + bedType: room?.bedType.name, roomTypeCode: booking.roomTypeCode ?? undefined, roomPrice: booking.roomPrice, bnr: booking.confirmationNumber ?? undefined,