From a03e439d6b5459aaef8671c34f20f193e1248208 Mon Sep 17 00:00:00 2001 From: Ryan Munro Date: Tue, 1 Oct 2019 18:56:14 +1000 Subject: [PATCH] fix(GuildChannelStore): default channel type incorrectly set (#3496) --- src/stores/GuildChannelStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/GuildChannelStore.js b/src/stores/GuildChannelStore.js index 55b9ebb0c..552b40f00 100644 --- a/src/stores/GuildChannelStore.js +++ b/src/stores/GuildChannelStore.js @@ -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,