feat: assignment endpoint toegevoegd aan controller frontend voor klas
This commit is contained in:
		
							parent
							
								
									eb8ac9c3bb
								
							
						
					
					
						commit
						8915fdb93b
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -30,4 +30,8 @@ export class ClassController extends BaseController { | ||||||
|     getTeacherInvitations(id: string, full = true) { |     getTeacherInvitations(id: string, full = true) { | ||||||
|         return this.get<{ invitations: any[] }>(`/${id}/teacher-invitations`, { full }); |         return this.get<{ invitations: any[] }>(`/${id}/teacher-invitations`, { full }); | ||||||
|     } |     } | ||||||
|  | 
 | ||||||
|  |     getAssignments(id: string, full = true) { | ||||||
|  |         return this.get<{ assignments: any[] }>(`/${id}/assignments`, { full }); | ||||||
|  |     } | ||||||
| } | } | ||||||
		Reference in a new issue
	
	 Adriaan Jacquet
						Adriaan Jacquet