fix: merge + lint fixes

This commit is contained in:
Gabriellvl 2025-04-01 18:38:36 +02:00
parent 7f189188e8
commit b556516359
12 changed files with 58 additions and 62 deletions

View file

@ -55,7 +55,7 @@ export class QuestionRepository extends DwengoEntityRepository<Question> {
});
}
public findAllByAuthor(author: Student): Promise<Question[]> {
public async findAllByAuthor(author: Student): Promise<Question[]> {
return this.findAll({
where: { author },
orderBy: { timestamp: 'DESC' }, // New to old