fix: cal.cache not working (#21044)

* fix: cal.cache not working

* Thanks mrge
This commit is contained in:
Alex van Andel authored and GitHub committed 2025-05-01 00:42:57 +00:00
1 parent c52bbc4be3
commit 55b066c475
2 files changed
+5 -5

No files matched your search

@@ -52,7 +52,7 @@ export const useSchedule = ({
: null;
const skipContactOwner = searchParams ? searchParams.get("cal.skipContactOwner") === "true" : false;
const _cacheParam = searchParams?.get("cal.cache");
const shouldServeCache = _cacheParam ? _cacheParam === "true" : undefined;
const _shouldServeCache = _cacheParam ? _cacheParam === "true" : undefined;
const utils = trpc.useUtils();
const routingFormResponseIdParam = searchParams?.get("cal.routingFormResponseId");
const email = searchParams?.get("email");
@@ -80,7 +80,7 @@ export const useSchedule = ({
teamMemberEmail,
routedTeamMemberIds,
skipContactOwner,
shouldServeCache,
_shouldServeCache,
routingFormResponseId,
email,
};