Merged in fix/correct-rooms-rebook (pull request #3238)
fix(STAY-130): Make sure we pass correct amount of rooms to rebook url * fix: Make sure we pass correct amount of rooms to rebook url Approved-by: Erik Tiekstra Approved-by: Anton Gunnarsson Approved-by: Matilda Landström
This commit is contained in:
@@ -26,7 +26,7 @@ export default function NotUpcoming() {
|
||||
|
||||
const bookingData: BookingWidgetSearchData = {
|
||||
hotelId: mainRoom.hotelId,
|
||||
rooms: [mainRoom, ...rooms].map((room) => ({
|
||||
rooms: rooms.map((room) => ({
|
||||
adults: room.adults,
|
||||
childrenInRoom: room.childrenInRoom,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user