fix: merge + lint fixes
This commit is contained in:
		
							parent
							
								
									7f189188e8
								
							
						
					
					
						commit
						b556516359
					
				
					 12 changed files with 58 additions and 62 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue