feat(SW-717) fixed issues after rebase

This commit is contained in:
Pontus Dreij
2025-01-29 08:31:49 +01:00
parent 7a9bfd447b
commit 7424ecf2bf
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ export async function getHotelSearchDetails<
const { rooms } = selectHotelParams
if (rooms && rooms.length > 0) {
adultsInRoom = rooms.map((room) => room.adults?.[0] ?? 0)
adultsInRoom = rooms.map((room) => room.adults ?? 0)
childrenInRoomString = rooms[0].childrenInRoom
? generateChildrenString(rooms[0].childrenInRoom)
: undefined // TODO: Handle multiple rooms