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(); e.preventDefault();
const properties = { const properties = {
chatID: this.chatID.value, 'chat-id': this.chatID.value,
disableNotification: this.disableNotification.checked, 'disable-notification': this.disableNotification.checked,
disableWebPagePreview: this.disableWebPagePreview.checked, 'disable-web-page-preview': this.disableWebPagePreview.checked,
parseMode: this.parseMode.checked, 'parse-mode': this.parseMode.checked.toString(),
token: this.token.value, token: this.token.value,
url: this.url.value, url: this.url.value,
}; };