From 771118f85ead09aac4619f7870593b7456da804c Mon Sep 17 00:00:00 2001 From: al8763be Date: Wed, 20 Mar 2024 15:13:00 +0100 Subject: [PATCH] Update API.ts --- frontend/src/API/API.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/API/API.ts b/frontend/src/API/API.ts index a3c4e92..d6a4b23 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -286,7 +286,7 @@ export const api: API = { "Content-Type": "application/json", Authorization: "Bearer " + token, }, - body: JSON.stringify({ username, projectName }), + body: JSON.stringify({ username: username, projectName: projectName}), }); if (!response.ok) {