summary refs log tree commit diff
diff options
context:
space:
mode:
authorImAaronFR <96433859+ImAaronFR@users.noreply.github.com>2022-02-08 08:44:07 +0330
committerGitHub <noreply@github.com>2022-02-08 08:14:07 +0300
commitba98f020cbfcba8f66b2bdb35f1812259598426d (patch)
treedaebc5d970af0b6f992144883e93df7733a10c8c
parentBump simple-get from 3.1.0 to 3.1.1 in /util (#620) (diff)
downloadserver-ba98f020cbfcba8f66b2bdb35f1812259598426d.tar.xz
[Fix] Column "groups" contains null-values (#622)
-rw-r--r--util/src/entities/Emoji.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/Emoji.ts b/util/src/entities/Emoji.ts
index 32d39234..a3615b7d 100644
--- a/util/src/entities/Emoji.ts
+++ b/util/src/entities/Emoji.ts
@@ -41,6 +41,6 @@ export class Emoji extends BaseClass {
 	@Column({ type: "simple-array" })
 	roles: string[]; // roles this emoji is whitelisted to (new discord feature?)
 	
-	@Column({ type: "simple-array" })
+	@Column({ type: "simple-array", nullable: true })
 	groups: string[]; // user groups this emoji is whitelisted to (Fosscord extension)
 }