style: fix linting issues met ESLint

This commit is contained in:
Lint Action 2025-03-01 10:33:27 +00:00
parent 81bbe84dfd
commit 74765577d5
26 changed files with 73 additions and 73 deletions

View file

@ -4,10 +4,10 @@ import { Teacher } from '../users/teacher.entity';
@Entity()
export class Answer {
@ManyToOne({ entity: () => Teacher, primary: true })
@ManyToOne({ entity: () => {return Teacher}, primary: true })
author!: Teacher;
@ManyToOne({ entity: () => Question, primary: true })
@ManyToOne({ entity: () => {return Question}, primary: true })
toQuestion!: Question;
@PrimaryKey({ type: 'integer' })