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,
): Promise<APIResponse<NewWeeklyReport>>;
/** Gets all the projects of a user*/
getUserProjects(
username: string,
token: string,
): Promise<APIResponse<Project[]>>;
getUserProjects(token: string): Promise<APIResponse<Project[]>>;
/** Gets a project from id*/
getProject(id: number): Promise<APIResponse<Project>>;
}