style: fix linting issues met ESLint
This commit is contained in:
parent
710adcaa34
commit
b8aae0ab1b
17 changed files with 46 additions and 136 deletions
|
@ -5,9 +5,7 @@ import { Student } from '../users/student.entity.js';
|
|||
@Entity()
|
||||
export class Group {
|
||||
@ManyToOne({
|
||||
entity: () => {
|
||||
return Assignment;
|
||||
},
|
||||
entity: () => Assignment,
|
||||
primary: true,
|
||||
})
|
||||
assignment!: Assignment;
|
||||
|
@ -16,9 +14,7 @@ export class Group {
|
|||
groupNumber!: number;
|
||||
|
||||
@ManyToMany({
|
||||
entity: () => {
|
||||
return Student;
|
||||
},
|
||||
entity: () => Student,
|
||||
})
|
||||
members!: Student[];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue