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 @@