Extended settings will not be type checked

This commit is contained in:
Erkin Alp Güney 2022-05-15 17:53:24 +03:00 committed by GitHub
parent 215df37be5
commit 1573edb505

View File

@ -166,7 +166,7 @@ export class User extends BaseClass {
// workaround to prevent fossord-unaware clients from deleting settings not used by them
@Column({ type: "simple-json", select: false })
extended_settings: UserSettings;
extended_settings: string;
@Column({ type: "simple-json" })
notes: { [key: string]: string }; //key is ID of user