1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 10:52:31 +01:00

[Fix] Column "groups" contains null-values (#622)

This commit is contained in:
ImAaronFR 2022-02-08 08:44:07 +03:30 committed by GitHub
parent 10de7abdab
commit ba98f020cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,6 @@ export class Emoji extends BaseClass {
@Column({ type: "simple-array" }) @Column({ type: "simple-array" })
roles: string[]; // roles this emoji is whitelisted to (new discord feature?) 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) groups: string[]; // user groups this emoji is whitelisted to (Fosscord extension)
} }