fix API POST calls

This commit is contained in:
2025-10-08 15:19:47 +02:00
parent cb1f974f02
commit fc31cc5507

View File

@@ -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)
}) })