Skip to content
Snippets Groups Projects
Unverified Commit 13de7650 authored by Marius Friess's avatar Marius Friess Committed by GitHub
Browse files

[Fix] Do not populate room when loading note (#37)

parent 1ec6efea
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ export class Note {
@Property({ onUpdate: () => new Date() })
updatedAt: Date = new Date();
@ManyToOne({ onDelete: 'cascade' })
@ManyToOne({ onDelete: 'cascade', hidden: true })
room: Room;
constructor(name: string, room: Room) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment