feat(SW-1012): update query
This commit is contained in:
@@ -614,7 +614,7 @@ export const hotelQueryRouter = router({
|
||||
|
||||
const bedTypes = availableRoomsInCategory
|
||||
.map((availRoom) => {
|
||||
const matchingRoom = hotelData?.included
|
||||
const matchingRoom = hotelData?.included?.rooms
|
||||
?.find((room) =>
|
||||
room.roomTypes
|
||||
.map((roomType) => roomType.code)
|
||||
|
||||
Reference in New Issue
Block a user