fix: lint
This commit is contained in:
parent
17dc9649c5
commit
a824cdff94
6 changed files with 5 additions and 11 deletions
|
@ -50,7 +50,7 @@ async function fetchInvitation(sender: Teacher, receiver: Teacher, cls: Class):
|
|||
return invite;
|
||||
}
|
||||
|
||||
export async function deleteInvitationFor(usernameSender: string, usernameReceiver: string, classId: string, accepted: boolean) {
|
||||
export async function deleteInvitationFor(usernameSender: string, usernameReceiver: string, classId: string, accepted: boolean): Promise<TeacherInvitationDTO> {
|
||||
const teacherInvitationRepository = getTeacherInvitationRepository();
|
||||
const sender = await fetchTeacher(usernameSender);
|
||||
const receiver = await fetchTeacher(usernameReceiver);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue