1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-21 18:02:33 +01:00

Merge pull request #881 from fosscord/fix/notes_pr_broke_somehow

Remove notes object from User entity, as Note entity is used instead
This commit is contained in:
TheArcaneBrony 2022-09-07 08:46:43 +02:00 committed by GitHub
commit b07e71a1f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;