Skip to content

Commit

Permalink
Credentials include fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Sep 2, 2022
1 parent 385b170 commit d66f3cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/helpers/rest-calls/index.ts
Expand Up @@ -112,6 +112,7 @@ export const useMasaQuery = (
...headers,
Authorization: token ? `Bearer ${token}` : undefined,
},
credentials: "include",
method: metadata.method,
mode: 'cors',
body: JSON.stringify(body),
Expand Down

0 comments on commit d66f3cd

Please sign in to comment.