style: fix linting issues met ESLint
This commit is contained in:
parent
e8e2466b76
commit
7ddde18d6c
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export async function createQuestion(loId: LearningObjectIdentifier, questionDat
|
||||||
|
|
||||||
export async function deleteQuestion(questionId: QuestionId): Promise<QuestionDTO> {
|
export async function deleteQuestion(questionId: QuestionId): Promise<QuestionDTO> {
|
||||||
const questionRepository = getQuestionRepository();
|
const questionRepository = getQuestionRepository();
|
||||||
const question = await fetchQuestion(questionId); // throws error if not found
|
const question = await fetchQuestion(questionId); // Throws error if not found
|
||||||
|
|
||||||
const loId: LearningObjectIdentifier = {
|
const loId: LearningObjectIdentifier = {
|
||||||
...questionId.learningObjectIdentifier,
|
...questionId.learningObjectIdentifier,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue