style: fix linting issues met ESLint
This commit is contained in:
parent
81bbe84dfd
commit
74765577d5
26 changed files with 73 additions and 73 deletions
|
@ -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' })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue