credentials: 'include'
This commit is contained in:
parent
4c8f9c6b7c
commit
c71b9703f3
|
@ -139,6 +139,7 @@ export class ApiService implements ApiServiceAbstraction {
|
|||
const authHeader = await this.handleTokenState();
|
||||
const response = await fetch(new Request(this.baseUrl + '/accounts/profile', {
|
||||
cache: 'no-cache',
|
||||
credentials: 'include',
|
||||
headers: new Headers({
|
||||
'Accept': 'application/json',
|
||||
'Authorization': authHeader,
|
||||
|
@ -418,6 +419,7 @@ export class ApiService implements ApiServiceAbstraction {
|
|||
const response = await fetch(new Request(this.baseUrl + '/organizations/' + organizationId + '/import', {
|
||||
body: JSON.stringify(request),
|
||||
cache: 'no-cache',
|
||||
credentials: 'include',
|
||||
headers: new Headers({
|
||||
'Accept': 'application/json',
|
||||
'Authorization': authHeader,
|
||||
|
|
Loading…
Reference in New Issue