From d70e22bf07fdbde52a2cf69ea2d9f43ba72868b1 Mon Sep 17 00:00:00 2001 From: Hunter Trujillo Date: Wed, 25 Jan 2017 16:22:59 -0700 Subject: [PATCH] Fix format sent to Kapacitor for Telegram. --- ui/src/kapacitor/components/TelegramConfig.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, };