chore: overbodige lijnen samengevoegd
Co-authored-by: Tibo De Peuter <tibo.depeuter@ugent.be>
This commit is contained in:
parent
c314a5cf80
commit
fb016e8d31
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@ export class QuestionRepository extends DwengoEntityRepository<Question> {
|
|||
questionEntity.author = question.author;
|
||||
questionEntity.inGroup = question.inGroup;
|
||||
questionEntity.content = question.content;
|
||||
await this.insert(questionEntity);
|
||||
return questionEntity;
|
||||
return (await this.insert(questionEntity));
|
||||
}
|
||||
public async findAllQuestionsAboutLearningObject(loId: LearningObjectIdentifier): Promise<Question[]> {
|
||||
return this.findAll({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue