mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 18:32:29 +01:00
Remove notes object from User entity, as Note entity is used instead
This commit is contained in:
parent
3a3417cded
commit
b7f0d75570
@ -178,9 +178,6 @@ export class User extends BaseClass {
|
|||||||
@Column({ type: "simple-json", select: false })
|
@Column({ type: "simple-json", select: false })
|
||||||
extended_settings: string = "{}";
|
extended_settings: string = "{}";
|
||||||
|
|
||||||
@Column({ type: "simple-json" })
|
|
||||||
notes: { [key: string]: string } = {}; //key is ID of user
|
|
||||||
|
|
||||||
async save(): Promise<any> {
|
async save(): Promise<any> {
|
||||||
if (!this.settings) this.settings = new UserSettings();
|
if (!this.settings) this.settings = new UserSettings();
|
||||||
this.settings.id = this.id;
|
this.settings.id = this.id;
|
||||||
|
Loading…
Reference in New Issue
Block a user