style: fix linting issues met ESLint
This commit is contained in:
parent
7f1c66c757
commit
5b00066106
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ export async function putAssignment(classid: string, id: number, assignmentData:
|
|||
throw new BadRequestException("Student can only be in one group");
|
||||
}
|
||||
|
||||
const studentLists = await Promise.all((assignmentData.groups! as string[][]).map(async group => await fetchStudents(group)));
|
||||
const studentLists = await Promise.all((assignmentData.groups as string[][]).map(async group => await fetchStudents(group)));
|
||||
|
||||
const groupRepository = getGroupRepository();
|
||||
await groupRepository.deleteAllByAssignment(assignment);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue