summary refs log tree commit diff
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-05-15 17:53:24 +0300
committerGitHub <noreply@github.com>2022-05-15 17:53:24 +0300
commitd8d2c28fca31d9426265a51a6713bc4c1757880a (patch)
treeeddde212401cbd7d6e9766fcf49e260c93075796
parentExtended settings (diff)
downloadserver-d8d2c28fca31d9426265a51a6713bc4c1757880a.tar.xz
Extended settings will not be type checked
-rw-r--r--util/src/entities/User.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/User.ts b/util/src/entities/User.ts
index 558a4190..9b1c494e 100644
--- a/util/src/entities/User.ts
+++ b/util/src/entities/User.ts
@@ -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