fix: no cache neighbors

This commit is contained in:
TrèsAbhi committed 2023-11-14 10:24:10 -06:00
1 parent e19d0d948a
commit e79c4a1e3f
1 file changed
+3 -1
+3 -1
View File
@@ -10,7 +10,9 @@ export async function getRatingsNeighbors(
count: number,
usePatientFetcher = false,
) {
const fetcher = usePatientFetcher ? patientFetch : fetch;
const fetcher = usePatientFetcher
? patientFetch
: (url: string) => fetch(url, { cache: 'no-store' });
const response = await fetcher(
withCORSProxy(
`https://${regionToRegionSubdomain(