quick fix for getUserProjects API

This commit is contained in:
al8763be 2024-03-19 00:27:35 +01:00
parent 59c4dab2e2
commit d7e14f1886

View file

@ -42,10 +42,7 @@ interface API {
token: string, token: string,
): Promise<APIResponse<NewWeeklyReport>>; ): Promise<APIResponse<NewWeeklyReport>>;
/** Gets all the projects of a user*/ /** Gets all the projects of a user*/
getUserProjects( getUserProjects(token: string): Promise<APIResponse<Project[]>>;
username: string,
token: string,
): Promise<APIResponse<Project[]>>;
/** Gets a project from id*/ /** Gets a project from id*/
getProject(id: number): Promise<APIResponse<Project>>; getProject(id: number): Promise<APIResponse<Project>>;
} }