fix(GuildChannelStore): default channel type incorrectly set (#3496)

This commit is contained in:
Ryan Munro
2019-10-01 10:56:14 +02:00
committed by SpaceEEC
parent 41c0dd44eb
commit a03e439d6b
+1 -1
View File
@@ -102,7 +102,7 @@ class GuildChannelStore extends DataStore {
data: {
name,
topic,
type: type ? ChannelTypes[type.toUpperCase()] : 'text',
type: type ? ChannelTypes[type.toUpperCase()] : ChannelTypes.TEXT,
nsfw,
bitrate,
user_limit: userLimit,