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

This commit is contained in:
Ryan Munro
2019-10-01 18:56:14 +10:00
committed by SpaceEEC
parent 41c0dd44eb
commit a03e439d6b

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,