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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user