Merged in fix/cache-time-hotels-test-env (pull request #1194)

fix: cache time 5 minutes for hotels data in test env

* fix: cache time 5 minutes for hotels data in test env
This commit is contained in:
Linus Flood
2025-01-21 09:29:09 +00:00
parent 7ac200bd7c
commit d02dc51dcc
2 changed files with 11 additions and 2 deletions

View File

@@ -716,7 +716,7 @@ export const hotelQueryRouter = router({
Authorization: `Bearer ${ctx.serviceToken}`,
},
next: {
revalidate: TWENTYFOUR_HOURS,
revalidate: env.CACHE_TIME_HOTELS,
},
}
@@ -1198,7 +1198,7 @@ export const hotelQueryRouter = router({
Authorization: `Bearer ${ctx.serviceToken}`,
},
next: {
revalidate: TWENTYFOUR_HOURS,
revalidate: env.CACHE_TIME_HOTELS,
},
},
params