Update API.ts

This commit is contained in:
al8763be 2024-03-20 15:13:00 +01:00
parent a84c2c6129
commit 771118f85e

View file

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