feat(SW-717) fixed issues after rebase
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -11,7 +11,7 @@ export interface Child {
|
||||
}
|
||||
|
||||
export interface Room {
|
||||
adults: number[]
|
||||
adults: number
|
||||
roomTypeCode: string
|
||||
rateCode: string
|
||||
counterRateCode: string
|
||||
|
||||
Reference in New Issue
Block a user