diff --git a/server/routers/hotels/input.ts b/server/routers/hotels/input.ts index c99e37208..6b52918f7 100644 --- a/server/routers/hotels/input.ts +++ b/server/routers/hotels/input.ts @@ -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(), diff --git a/server/routers/hotels/query.ts b/server/routers/hotels/query.ts index 4a42d2410..076ba408d 100644 --- a/server/routers/hotels/query.ts +++ b/server/routers/hotels/query.ts @@ -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,