style: fix linting issues met Prettier
This commit is contained in:
parent
7e46ce9c5f
commit
0bdee56dc3
10 changed files with 19 additions and 21 deletions
|
@ -78,7 +78,7 @@ export async function createQuestion(questionDTO: QuestionDTO): Promise<Question
|
|||
const loId: LearningObjectIdentifier = {
|
||||
...questionDTO.learningObjectIdentifier,
|
||||
version: questionDTO.learningObjectIdentifier.version ?? 1,
|
||||
}
|
||||
};
|
||||
|
||||
try {
|
||||
await questionRepository.createQuestion({
|
||||
|
@ -102,10 +102,10 @@ export async function deleteQuestion(questionId: QuestionId): Promise<QuestionDT
|
|||
return null;
|
||||
}
|
||||
|
||||
const loId : LearningObjectIdentifier = {
|
||||
const loId: LearningObjectIdentifier = {
|
||||
...questionId.learningObjectIdentifier,
|
||||
version: questionId.learningObjectIdentifier.version ?? 1
|
||||
}
|
||||
version: questionId.learningObjectIdentifier.version ?? 1,
|
||||
};
|
||||
|
||||
try {
|
||||
await questionRepository.removeQuestionByLearningObjectAndSequenceNumber(loId, questionId.sequenceNumber);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue