summary refs log tree commit diff
path: root/util/src/entities/Channel.ts
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-17 18:29:02 +0200
committerAlTech98 <altech123159@gmail.com>2021-09-17 18:29:02 +0200
commit50ab5e7d490413388a8365a82af43c40b252beec (patch)
tree099b631552a9e72b273d4924db4806703c76a027 /util/src/entities/Channel.ts
parentMerge branch 'fosscord:master' into fix-dm (diff)
downloadserver-50ab5e7d490413388a8365a82af43c40b252beec.tar.xz
Fix icon, owner_id change and channel deletion for group DMs
Diffstat (limited to '')
-rw-r--r--util/src/entities/Channel.ts4
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;