diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-09-07 08:46:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 08:46:43 +0200 |
commit | b07e71a1f0a0375ba92e6a29add16047661060c5 (patch) | |
tree | 6a075478cc6e8d3121389f7095a6bfeb90348f17 | |
parent | Revert "Merge pull request #873 from fosscord/dev/Maddy/fix/listeningAfterDb" (diff) | |
parent | Remove notes object from User entity, as Note entity is used instead (diff) | |
download | server-b07e71a1f0a0375ba92e6a29add16047661060c5.tar.xz |
Merge pull request #881 from fosscord/fix/notes_pr_broke_somehow
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; |