diff --git a/apps/scandic-web/server/routers/hotels/query.ts b/apps/scandic-web/server/routers/hotels/query.ts index d0a72b453..d10ea4bba 100644 --- a/apps/scandic-web/server/routers/hotels/query.ts +++ b/apps/scandic-web/server/routers/hotels/query.ts @@ -1358,7 +1358,7 @@ export const hotelQueryRouter = router({ const lang = input.lang ?? ctx.lang const cacheClient = await getCacheClient() return await cacheClient.cacheOrGet( - `${ctx.lang}:getLocations`, + `${lang}:getLocations`, async () => { const countries = await getCountries({ lang: lang, @@ -1704,7 +1704,7 @@ export const hotelQueryRouter = router({ const cacheClient = await getCacheClient() const breakfastPackages = await cacheClient.cacheOrGet( - `${apiLang}:adults${input.adults}:startDate:${params.StartDate}:endDate:${params.EndDate}`, + `${apiLang}:adults${input.adults}:startDate:${params.StartDate}:endDate:${params.EndDate}:hotel:${input.hotelId}`, async () => { const apiResponse = await api.get( api.endpoints.v1.Package.Breakfast.hotel(input.hotelId),