fix: route name schrijffout
This commit is contained in:
		
							parent
							
								
									4a1e83b9b9
								
							
						
					
					
						commit
						1c07d9c6c8
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -11,10 +11,11 @@ export interface TeacherInvitationResponse { | |||
| 
 | ||||
| export class TeacherInvitationController extends BaseController { | ||||
|     constructor() { | ||||
|         super("teachers/invitations"); | ||||
|         super("teacher/invitations"); | ||||
|     } | ||||
| 
 | ||||
|     async getAll(username: string, sent: boolean): Promise<TeacherInvitationsResponse> { | ||||
|     async getAll(username: string, s: boolean): Promise<TeacherInvitationsResponse> { | ||||
|         const sent = s.toString(); | ||||
|         return this.get<TeacherInvitationsResponse>(`/${username}`, { sent }); | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Reference in a new issue
	
	 Gabriellvl
						Gabriellvl