diff --git a/frontend/src/API/API.ts b/frontend/src/API/API.ts index a06f804..cab3b6b 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -150,10 +150,7 @@ export const api: API = { } }, - async getUserProjects( - username: string, - token: string, - ): Promise> { + async getUserProjects(token: string): Promise> { try { const response = await fetch("/api/getUserProjects", { method: "GET", @@ -161,7 +158,6 @@ export const api: API = { "Content-Type": "application/json", Authorization: "Bearer " + token, }, - body: JSON.stringify({ username }), }); if (!response.ok) {