Update API.ts
This commit is contained in:
parent
a84c2c6129
commit
771118f85e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue