Fix format sent to Kapacitor for Telegram.
parent
b55ad59e48
commit
d70e22bf07
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue