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