From 455ad82ce7f93a517a852549126077c61757bc66 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Thu, 24 Apr 2025 19:40:15 +0000 Subject: [PATCH] style: fix linting issues met Prettier --- backend/src/services/questions.ts | 3 +-- frontend/src/components/QuestionNotification.vue | 16 ++++++++-------- frontend/src/components/SingleQuestion.vue | 4 ++-- .../views/learning-paths/LearningPathPage.vue | 2 +- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/backend/src/services/questions.ts b/backend/src/services/questions.ts index 24f753a3..09643cd2 100644 --- a/backend/src/services/questions.ts +++ b/backend/src/services/questions.ts @@ -90,8 +90,7 @@ export async function createQuestion(loId: LearningObjectIdentifier, questionDat let assignment; if (typeof questionData.inGroup.assignment === 'number' && typeof questionData.inGroup.class === 'string') { - assignment = await fetchAssignment(questionData.inGroup.class, - questionData.inGroup.assignment); + assignment = await fetchAssignment(questionData.inGroup.class, questionData.inGroup.assignment); } else { // TODO check if necessary and no conflicts to delete this if const clazz = await getClassRepository().findById((questionData.inGroup.assignment as AssignmentDTO).within); diff --git a/frontend/src/components/QuestionNotification.vue b/frontend/src/components/QuestionNotification.vue index e9b6ed7e..9b854224 100644 --- a/frontend/src/components/QuestionNotification.vue +++ b/frontend/src/components/QuestionNotification.vue @@ -1,21 +1,21 @@