Adding Jira ticket #SW-778

This commit is contained in:
Linus Flood
2024-11-05 19:37:45 +01:00
parent 1ae2163e1a
commit 4f7b9d24d9
2 changed files with 1 additions and 10 deletions

View File

@@ -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(),

View File

@@ -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,