Fix disabling bot
This commit is contained in:
parent
89fb6a7ac6
commit
353f2d03f3
@ -8,6 +8,7 @@
|
||||
* Fix dark mode for buttons.
|
||||
* Fix buttons margin.
|
||||
* Don't validate hidden fields.
|
||||
* Fix disabling bot.
|
||||
* Help button on top of the "channels" page.
|
||||
|
||||
## 8.0.0
|
||||
|
@ -63,7 +63,7 @@ async function initConfigurationApiRouter (options: RegisterServerOptions, route
|
||||
await getChannelConfigurationOptions(options, channelInfos.id) ??
|
||||
getDefaultChannelConfigurationOptions(options)
|
||||
req.body.bot = channelOptions.bot
|
||||
req.body.bot.enable = false
|
||||
req.body.bot.enabled = false
|
||||
}
|
||||
channelOptions = await sanitizeChannelConfigurationOptions(options, channelInfos.id, req.body)
|
||||
} catch (err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user