Skip to content

Commit

Permalink
Debug credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Sep 2, 2022
1 parent b8688c4 commit e20f0e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/helpers/rest-calls/index.ts
Expand Up @@ -112,7 +112,7 @@ export const useMasaQuery = (
...headers,
Authorization: token ? `Bearer ${token}` : undefined,
},
credentials: "same-origin",
credentials: "include",
method: metadata.method,
mode: 'cors',
body: JSON.stringify(body),
Expand Down Expand Up @@ -172,7 +172,7 @@ export const useMasaMutation = (
Authorization: token ? `Bearer ${token}` : undefined,
'Content-Type': 'application/json',
},
credentials: "same-origin",
credentials: "include",
method: metadata.method,
mode: 'cors',
body: JSON.stringify(newBody ? newBody : body),
Expand Down

0 comments on commit e20f0e0

Please sign in to comment.