mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
[editor] Fix number-of-lines mode causing type-error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
722cfe76c7
commit
1f62c131d6
1 changed files with 1 additions and 0 deletions
|
@ -407,6 +407,7 @@ export default {
|
|||
delete obj.message_interval
|
||||
} else if (this.models.autoMessage.sendMode === 'lines') {
|
||||
delete obj.cron
|
||||
obj.message_interval = Number(obj.message_interval) // Enforce this is a number, not a string
|
||||
}
|
||||
|
||||
let promise = null
|
||||
|
|
Loading…
Reference in a new issue