Merge branch 'dev' into feat/missende-endpoints

This commit is contained in:
Adriaan J. 2025-04-07 17:26:56 +02:00 committed by GitHub
commit 2218bb9ea5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 3 additions and 5 deletions

View file

@ -50,7 +50,6 @@ export class ClassController extends BaseController {
return this.get<TeachersResponse>(`/${id}/teachers`, { full });
}
// TODO
async getTeacherInvitations(id: string, full = true): Promise<TeacherInvitationsResponse> {
return this.get<TeacherInvitationsResponse>(`/${id}/teacher-invitations`, { full });
}

View file

@ -22,7 +22,7 @@ export class SubmissionController extends BaseController {
return this.get<SubmissionResponse>(`/${submissionNumber}`);
}
async createSubmission(data: any): Promise<SubmissionResponse> {
async createSubmission(data: unknown): Promise<SubmissionResponse> {
return this.post<SubmissionResponse>(`/`, data);
}