diff options
author | AlTech98 <altech123159@gmail.com> | 2021-09-17 18:29:02 +0200 |
---|---|---|
committer | AlTech98 <altech123159@gmail.com> | 2021-09-17 18:29:02 +0200 |
commit | 6123f359b0b58e72da70d0f0d89cc7714d54f8b6 (patch) | |
tree | db64b13077038f94a2d32979641229d25f7871f8 /util/src/entities/Channel.ts | |
parent | Merge branch 'fosscord:master' into fix-dm (diff) | |
download | server-6123f359b0b58e72da70d0f0d89cc7714d54f8b6.tar.xz |
Fix icon, owner_id change and channel deletion for group DMs
Diffstat (limited to 'util/src/entities/Channel.ts')
-rw-r--r-- | util/src/entities/Channel.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts index 6eac19ca..aa2bfab3 100644 --- a/util/src/entities/Channel.ts +++ b/util/src/entities/Channel.ts @@ -30,8 +30,8 @@ export class Channel extends BaseClass { @Column({ nullable: true }) name?: string; - @Column({ nullable: true }) - icon?: string; + @Column({ type: 'text', nullable: true }) + icon?: string | null; @Column({ type: "simple-enum", enum: ChannelType }) type: ChannelType; |