Format with Prettier 2

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-01-06 23:48:53 +01:00
parent 1ecf5def66
commit 3801b1b042
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
15 changed files with 36 additions and 94 deletions

View file

@ -10,14 +10,10 @@ import { Note } from '../notes/note.entity';
@Entity()
export class NoteGroupPermission {
@ManyToOne(_ => Group, { primary: true })
@ManyToOne((_) => Group, { primary: true })
group: Group;
@ManyToOne(
_ => Note,
note => note.groupPermissions,
{ primary: true },
)
@ManyToOne((_) => Note, (note) => note.groupPermissions, { primary: true })
note: Note;
@Column()