diff --git a/ui/src/kapacitor/components/TelegramConfig.js b/ui/src/kapacitor/components/TelegramConfig.js index 917a41ae5e..ce3dcddaf0 100644 --- a/ui/src/kapacitor/components/TelegramConfig.js +++ b/ui/src/kapacitor/components/TelegramConfig.js @@ -19,10 +19,10 @@ const TelegramConfig = React.createClass({ e.preventDefault(); const properties = { - chatID: this.chatID.value, - disableNotification: this.disableNotification.checked, - disableWebPagePreview: this.disableWebPagePreview.checked, - parseMode: this.parseMode.checked, + 'chat-id': this.chatID.value, + 'disable-notification': this.disableNotification.checked, + 'disable-web-page-preview': this.disableWebPagePreview.checked, + 'parse-mode': this.parseMode.checked.toString(), token: this.token.value, url: this.url.value, };