quick fix for getUserProjects API
This commit is contained in:
parent
59c4dab2e2
commit
d7e14f1886
1 changed files with 1 additions and 4 deletions
|
@ -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>>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue