Adding Jira ticket #SW-778
This commit is contained in:
@@ -48,14 +48,6 @@ export const getRatesInputSchema = z.object({
|
|||||||
hotelId: z.string(),
|
hotelId: z.string(),
|
||||||
})
|
})
|
||||||
|
|
||||||
// Uncomment when we need the data in the hotel response
|
|
||||||
export const HotelIncludeEnum = z.enum([
|
|
||||||
"RoomCategories",
|
|
||||||
//"NearbyHotels",
|
|
||||||
//"Restaurants",
|
|
||||||
//"City",
|
|
||||||
])
|
|
||||||
|
|
||||||
export const getHotelDataInputSchema = z.object({
|
export const getHotelDataInputSchema = z.object({
|
||||||
hotelId: z.string(),
|
hotelId: z.string(),
|
||||||
language: z.string(),
|
language: z.string(),
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ import {
|
|||||||
getRoomsAvailabilityInputSchema,
|
getRoomsAvailabilityInputSchema,
|
||||||
getSelectedRoomAvailabilityInputSchema,
|
getSelectedRoomAvailabilityInputSchema,
|
||||||
type HotelDataInput,
|
type HotelDataInput,
|
||||||
HotelIncludeEnum,
|
|
||||||
} from "./input"
|
} from "./input"
|
||||||
import {
|
import {
|
||||||
breakfastPackagesSchema,
|
breakfastPackagesSchema,
|
||||||
@@ -174,7 +173,7 @@ export const getHotelData = cache(
|
|||||||
language,
|
language,
|
||||||
}
|
}
|
||||||
|
|
||||||
params.include = HotelIncludeEnum.options.join(",")
|
params.include = "RoomCategories" // "RoomCategories","NearbyHotels","Restaurants","City",
|
||||||
|
|
||||||
getHotelCounter.add(1, {
|
getHotelCounter.add(1, {
|
||||||
hotelId,
|
hotelId,
|
||||||
|
|||||||
Reference in New Issue
Block a user