Fix format sent to Kapacitor for Telegram.

pull/797/head
Hunter Trujillo 2017-01-25 16:22:59 -07:00
parent 93dd2f7418
commit c0182922ed
1 changed files with 4 additions and 4 deletions

View File

@ -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,
};