add content type to api

This commit is contained in:
Joseph Ditton 2021-12-08 17:55:59 -07:00
parent d7123274e9
commit 5c700ff0ea

View File

@ -18,6 +18,7 @@ export class Api {
method,
headers: {
Authorization: `Bearer ${this.authToken}`,
'Content-Type': 'application/json',
},
...options,
}).then((res) => res.json());