From 5b000661069971c622a237fc48f6ee1c1daba569 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Sat, 17 May 2025 18:47:20 +0000 Subject: [PATCH] style: fix linting issues met ESLint --- backend/src/services/assignments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/assignments.ts b/backend/src/services/assignments.ts index 3be1709c..28017eb0 100644 --- a/backend/src/services/assignments.ts +++ b/backend/src/services/assignments.ts @@ -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);