1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 12:42:44 +01:00

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 2d177a1082
commit d8d2c28fca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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