add content type to api
This commit is contained in:
parent
d7123274e9
commit
5c700ff0ea
@ -18,6 +18,7 @@ export class Api {
|
|||||||
method,
|
method,
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${this.authToken}`,
|
Authorization: `Bearer ${this.authToken}`,
|
||||||
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
...options,
|
...options,
|
||||||
}).then((res) => res.json());
|
}).then((res) => res.json());
|
||||||
|
Loading…
Reference in New Issue
Block a user