diff options
author | ImAaronFR <96433859+ImAaronFR@users.noreply.github.com> | 2022-02-08 08:44:07 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 08:14:07 +0300 |
commit | 896d3672f406bfe90bd9682591da01ba7d1501c0 (patch) | |
tree | 862a85b6fb28a96323483b91daf1c42098476975 | |
parent | Bump simple-get from 3.1.0 to 3.1.1 in /util (#620) (diff) | |
download | server-896d3672f406bfe90bd9682591da01ba7d1501c0.tar.xz |
[Fix] Column "groups" contains null-values (#622)
-rw-r--r-- | util/src/entities/Emoji.ts | 2 |
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) } |