mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 02:12:40 +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:
commit
b07e71a1f0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user