diff --git a/server/routers/hotels/query.ts b/server/routers/hotels/query.ts index 472da018c..c3d24b62b 100644 --- a/server/routers/hotels/query.ts +++ b/server/routers/hotels/query.ts @@ -322,6 +322,8 @@ export const hotelQueryRouter = router({ rooms: serviceProcedure .input(getRoomsAvailabilityInputSchema) .query(async ({ input, ctx }) => { + const { lang } = ctx + const apiLang = toApiLang(lang) const { hotelId, roomStayStartDate, @@ -338,6 +340,7 @@ export const hotelQueryRouter = router({ adults, ...(children && { children }), ...(bookingCode && { bookingCode }), + language: apiLang, } roomsAvailabilityCounter.add(1, {