don't supply user agent header
This commit is contained in:
@ -35,7 +35,6 @@ class ApiClient {
|
|||||||
const headers = new Headers({
|
const headers = new Headers({
|
||||||
Accept: 'application/json',
|
Accept: 'application/json',
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'User-Agent': this.userAgent,
|
|
||||||
});
|
});
|
||||||
if (stores.user.authenticated) {
|
if (stores.user.authenticated) {
|
||||||
headers.set('Authorization', `Bearer ${stores.user.token}`);
|
headers.set('Authorization', `Bearer ${stores.user.token}`);
|
||||||
|
Reference in New Issue
Block a user