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 | ba98f020cbfcba8f66b2bdb35f1812259598426d (patch) | |
tree | daebc5d970af0b6f992144883e93df7733a10c8c /util/src/entities/Emoji.ts | |
parent | Bump simple-get from 3.1.0 to 3.1.1 in /util (#620) (diff) | |
download | server-ba98f020cbfcba8f66b2bdb35f1812259598426d.tar.xz |
[Fix] Column "groups" contains null-values (#622)
Diffstat (limited to 'util/src/entities/Emoji.ts')
-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) } |