Request auth on first load with existing token
This commit is contained in:
@@ -32,7 +32,7 @@ class ApiClient {
|
||||
modifiedPath = path;
|
||||
}
|
||||
} else if (method === 'POST' || method === 'PUT') {
|
||||
body = JSON.stringify(data);
|
||||
body = data ? JSON.stringify(data) : undefined;
|
||||
}
|
||||
|
||||
// Construct headers
|
||||
|
||||
Reference in New Issue
Block a user