From fc31cc5507c67f8b187938469a15c73a599f1494 Mon Sep 17 00:00:00 2001 From: Arthur Lefebvre Date: Wed, 8 Oct 2025 15:19:47 +0200 Subject: [PATCH] fix API POST calls --- front/src/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/api.js b/front/src/api.js index 39608d3..c2958b1 100644 --- a/front/src/api.js +++ b/front/src/api.js @@ -58,7 +58,7 @@ export function genericPostCall(apiRoute, object) { method: 'POST', headers: { 'Content-Type': 'application/json', - 'Authorization': authorizationHeader() + 'Authorization': 'Bearer ' + user.token }, body: JSON.stringify(object) })