mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 15:22:43 +00:00
correct thread type
This commit is contained in:
1 parent
a7b13e62fa
commit
9dcdbd8115
1 file changed
+1
-1
@@ -63,7 +63,7 @@ router.post(
|
||||
name: body.name,
|
||||
guild_id: channel.guild_id,
|
||||
rate_limit_per_user: body.rate_limit_per_user,
|
||||
type: ChannelType.GUILD_PUBLIC_THREAD,
|
||||
type: channel.type === ChannelType.GUILD_NEWS ? ChannelType.GUILD_NEWS_THREAD : ChannelType.GUILD_PUBLIC_THREAD,
|
||||
recipients: [],
|
||||
thread_metadata: {
|
||||
archived: false,
|
||||
|
||||
Reference in new issue
Block a user