From cecd62c8f28393b149e6e81c5c7c434f1991e44d Mon Sep 17 00:00:00 2001 From: Lint Action Date: Tue, 22 Apr 2025 15:30:39 +0000 Subject: [PATCH] style: fix linting issues met Prettier --- backend/src/controllers/assignments.ts | 3 +-- backend/src/data/questions/question-repository.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/src/controllers/assignments.ts b/backend/src/controllers/assignments.ts index 7ad14955..b26a89ea 100644 --- a/backend/src/controllers/assignments.ts +++ b/backend/src/controllers/assignments.ts @@ -73,10 +73,9 @@ export async function deleteAssignmentHandler(req: Request, res: Response): Prom const assignment = await deleteAssignment(classid, assignmentNumber); - res.json({ assignment }); + res.json({ assignment }); } - export async function getAssignmentsSubmissionsHandler(req: Request, res: Response): Promise { const { classid, assignmentNumber, full } = getAssignmentParams(req); diff --git a/backend/src/data/questions/question-repository.ts b/backend/src/data/questions/question-repository.ts index d06a711f..598cfb35 100644 --- a/backend/src/data/questions/question-repository.ts +++ b/backend/src/data/questions/question-repository.ts @@ -79,7 +79,7 @@ export class QuestionRepository extends DwengoEntityRepository { return this.findAll({ where: { inGroup }, orderBy: { timestamp: 'DESC' }, - }) + }); } /**