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