diff --git a/frontend/src/API/API.ts b/frontend/src/API/API.ts index ac0f531..7a1ccd0 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -29,6 +29,11 @@ interface API { project: NewProject, token: string, ): Promise>; + /** Gets all the projects of a user*/ + getUserProjects( + username: string, + token: string, + ): Promise>; /** Submit a weekly report */ submitWeeklyReport( project: NewWeeklyReport, @@ -41,11 +46,6 @@ interface API { week: string, token: string, ): Promise>; - /** Gets all the projects of a user*/ - getUserProjects( - username: string, - token: string, - ): Promise>; } // Export an instance of the API