diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-04 21:02:21 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-04 21:02:21 +1000 |
commit | b7f0d755709ecac1fddb5a57e555ecb6149e4ade (patch) | |
tree | 21a69a32e21bba0ab2d7388510313f2f009f10ed | |
parent | Prettier (diff) | |
download | server-b7f0d755709ecac1fddb5a57e555ecb6149e4ade.tar.xz |
Remove notes object from User entity, as Note entity is used instead
-rw-r--r-- | src/util/entities/User.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts index 1237b676..77d4c37f 100644 --- a/src/util/entities/User.ts +++ b/src/util/entities/User.ts @@ -178,9 +178,6 @@ export class User extends BaseClass { @Column({ type: "simple-json", select: false }) extended_settings: string = "{}"; - @Column({ type: "simple-json" }) - notes: { [key: string]: string } = {}; //key is ID of user - async save(): Promise<any> { if (!this.settings) this.settings = new UserSettings(); this.settings.id = this.id; |