feat: assignment endpoint toegevoegd aan controller frontend voor klas

This commit is contained in:
Adriaan Jacquet 2025-03-30 17:51:44 +02:00
parent eb8ac9c3bb
commit 8915fdb93b

View file

@ -30,4 +30,8 @@ export class ClassController extends BaseController {
getTeacherInvitations(id: string, full = true) {
return this.get<{ invitations: any[] }>(`/${id}/teacher-invitations`, { full });
}
getAssignments(id: string, full = true) {
return this.get<{ assignments: any[] }>(`/${id}/assignments`, { full });
}
}