From f35802f3c3f9f7e80c965da0a00df36266b9d04e Mon Sep 17 00:00:00 2001 From: Adriaan Jacquet Date: Tue, 22 Apr 2025 14:26:00 +0200 Subject: [PATCH] fix: fixed linter issues --- backend/src/controllers/groups.ts | 4 +--- backend/src/services/groups.ts | 1 - frontend/src/components/MenuBar.vue | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/backend/src/controllers/groups.ts b/backend/src/controllers/groups.ts index 2f755e21..217510f6 100644 --- a/backend/src/controllers/groups.ts +++ b/backend/src/controllers/groups.ts @@ -3,8 +3,6 @@ import { createGroup, deleteGroup, getAllGroups, getGroup, getGroupSubmissions, import { GroupDTO } from '@dwengo-1/common/interfaces/group'; import { requireFields } from './error-helper.js'; import { BadRequestException } from '../exceptions/bad-request-exception.js'; -import { EntityDTO } from '@mikro-orm/core'; -import { Group } from '../entities/assignments/group.entity.js'; function checkGroupFields(classId: string, assignmentId: number, groupId: number): void { requireFields({ classId, assignmentId, groupId }); @@ -35,7 +33,7 @@ export async function putGroupHandler(req: Request, res: Response): Promise