style: fix linting issues met ESLint
This commit is contained in:
parent
52364d717c
commit
fc5a40ba40
5 changed files with 8 additions and 8 deletions
|
@ -139,7 +139,7 @@ export async function getStudentQuestions(username: string, full: boolean): Prom
|
|||
const questions = await questionRepository.findAllByAuthor(student);
|
||||
|
||||
if (full)
|
||||
return questions.map(mapToQuestionDTO)
|
||||
{return questions.map(mapToQuestionDTO)}
|
||||
|
||||
return questions.map(mapToQuestionId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue