fix: fixed linting errors

This commit is contained in:
Adriaan Jacquet 2025-04-17 19:14:20 +02:00
parent 7f782915b6
commit 5dd0db685e
6 changed files with 4 additions and 14 deletions

View file

@ -12,8 +12,6 @@ import { requireFields } from './error-helper.js';
import { BadRequestException } from '../exceptions/bad-request-exception.js';
import { Assignment } from '../entities/assignments/assignment.entity.js';
import { EntityDTO } from '@mikro-orm/core';
import { createGroup } from '../services/groups.js';
import { getLogger } from '../logging/initalize.js';
export async function getAllAssignmentsHandler(req: Request, res: Response): Promise<void> {
const classId = req.params.classid;
@ -21,8 +19,6 @@ export async function getAllAssignmentsHandler(req: Request, res: Response): Pro
const assignments = await getAllAssignments(classId, full);
console.log(JSON.stringify(assignments));
res.json({ assignments });
}