feat: filters work together

This commit is contained in:
Simon Emanuelsson
2025-04-14 08:37:11 +02:00
committed by Michael Zetterberg
parent 31370fe711
commit d72c84d949
14 changed files with 45 additions and 53 deletions

View File

@@ -1252,12 +1252,12 @@ export async function getRoomsAvailability(
const cacheClient = await getCacheClient()
const availabilityResponses = await Promise.allSettled(
rooms.map(async (room: RoomsAvailabilityInputRoom) => {
rooms.map((room: RoomsAvailabilityInputRoom) => {
const cacheKey = {
...baseCacheKey,
room,
}
return await cacheClient.cacheOrGet(
return cacheClient.cacheOrGet(
stringify(cacheKey),
async function () {
{