mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
Merge pull request #1 from rekaz-io/feat
feat: add headers for CF-Access-Client-Id and CF-Access-Client-Secret…
This commit is contained in:
parent
dc78b5e99d
commit
152ad6a1a5
11 changed files with 11 additions and 11 deletions
|
|
@ -6,7 +6,7 @@ export function useSessionData(websiteId: string, sessionId: string) {
|
|||
return useQuery({
|
||||
queryKey: ['session:data', { websiteId, sessionId }],
|
||||
queryFn: () => {
|
||||
return get(`/websites/${websiteId}/sessions/${sessionId}/properties`, { websiteId });
|
||||
return get(`/websites/${websiteId}/sessions/${sessionId}/properties`, { websiteId }, { headers: { 'CF-Access-Client-Id': '571942449727ad914a422562e7931a4a.access', 'CF-Access-Client-Secret': '571942449727ad914a422562e7931a4a.secret' } });
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue