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 const { rooms } = selectHotelParams
if (rooms && rooms.length > 0) { if (rooms && rooms.length > 0) {
adultsInRoom = rooms.map((room) => room.adults?.[0] ?? 0) adultsInRoom = rooms.map((room) => room.adults ?? 0)
childrenInRoomString = rooms[0].childrenInRoom childrenInRoomString = rooms[0].childrenInRoom
? generateChildrenString(rooms[0].childrenInRoom) ? generateChildrenString(rooms[0].childrenInRoom)
: undefined // TODO: Handle multiple rooms : undefined // TODO: Handle multiple rooms

View File

@@ -11,7 +11,7 @@ export interface Child {
} }
export interface Room { export interface Room {
adults: number[] adults: number
roomTypeCode: string roomTypeCode: string
rateCode: string rateCode: string
counterRateCode: string counterRateCode: string