Skip to content

Commit

Permalink
fix(core): include cookieless auth token in logout request if it exis…
Browse files Browse the repository at this point in the history
…ts (#5491)
  • Loading branch information
juice49 committed Jan 15, 2024
1 parent fb3aaea commit 9dc4fbc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export function _createAuthStore({
dataset,
useCdn: true,
withCredentials: true,
token: getToken(projectId) ?? undefined,
apiVersion: '2021-06-07',
requestTagPrefix: 'sanity.studio',
...hostOptions,
Expand Down

0 comments on commit 9dc4fbc

Please sign in to comment.