fix API POST calls
This commit is contained in:
@@ -58,7 +58,7 @@ export function genericPostCall(apiRoute, object) {
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Authorization': authorizationHeader()
|
'Authorization': 'Bearer ' + user.token
|
||||||
},
|
},
|
||||||
body: JSON.stringify(object)
|
body: JSON.stringify(object)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user