From d7e14f18860c41e5a0416e1584bba63d9daace14 Mon Sep 17 00:00:00 2001 From: al8763be Date: Tue, 19 Mar 2024 00:27:35 +0100 Subject: [PATCH] quick fix for getUserProjects API --- frontend/src/API/API.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/API/API.ts b/frontend/src/API/API.ts index cab3b6b..8fd66d3 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -42,10 +42,7 @@ interface API { token: string, ): Promise>; /** Gets all the projects of a user*/ - getUserProjects( - username: string, - token: string, - ): Promise>; + getUserProjects(token: string): Promise>; /** Gets a project from id*/ getProject(id: number): Promise>; }