diff --git a/server/notification-providers/pushplusplus.js b/server/notification-providers/pushplusplus.js index 1568a5b30..3d39d6dd3 100644 --- a/server/notification-providers/pushplusplus.js +++ b/server/notification-providers/pushplusplus.js @@ -9,7 +9,7 @@ class PushPlusPlus extends NotificationProvider { const okMsg = "Sent Successfully."; const url = `https://pushplus.plus/send`; try { - await axios.post(notification.pushPlusPlusToken, { + await axios.post(notification.PushPlusPlusToken, { "title": this.checkStatus(heartbeatJSON, monitorJSON), "content": msg, }); diff --git a/src/components/notifications/index.js b/src/components/notifications/index.js index d6c719722..2741296f3 100644 --- a/src/components/notifications/index.js +++ b/src/components/notifications/index.js @@ -117,7 +117,7 @@ const NotificationFormList = { "PushByTechulus": TechulusPush, "PushDeer": PushDeer, "pushover": Pushover, - "pushplusplus": PushPlusPlus, + "PushPlusPlus": PushPlusPlus, "pushy": Pushy, "rocket.chat": RocketChat, "serwersms": SerwerSMS, diff --git a/src/lang/zh-CN.json b/src/lang/zh-CN.json index 4d33c0afd..4a9a277b0 100644 --- a/src/lang/zh-CN.json +++ b/src/lang/zh-CN.json @@ -1100,5 +1100,6 @@ "RabbitMQ Nodes": "RabbitMQ 管理节点", "Separate multiple email addresses with commas": "用逗号分隔多个电子邮件地址", "rabbitmqHelpText": "要使用此监控项,您需要在 RabbitMQ 设置中启用管理插件。有关更多信息,请参阅 {rabitmq_documentation}。", - "aboutSlackUsername": "更改消息发件人的显示名称。如果您想提及某人,请另行将其包含在友好名称中。" + "aboutSlackUsername": "更改消息发件人的显示名称。如果您想提及某人,请另行将其包含在友好名称中。", + "PushPlusPlus Token": "PushPlusPlus Token" } diff --git a/src/lang/zh-HK.json b/src/lang/zh-HK.json index 9ecd5dd3a..84e04ab35 100644 --- a/src/lang/zh-HK.json +++ b/src/lang/zh-HK.json @@ -1085,5 +1085,6 @@ "cellsyntOriginator": "在收件人處作為消息發送者顯示。允許的內容取決於發件人類型。", "cellsyntDestination": "收件人的手機號碼需要使用以 00+國家代碼開頭的國際通用格式,例如若要發給英國的號碼 07920 110 000 需使用 00447920110000 作為收件人手機號碼(至多17位數)。需發送給多個收件人手機號碼時可使用英文逗號分隔,每次請求最 多250 00個收件人手機號碼。", "threemaRecipient": "收件人", - "threemaRecipientTypeIdentityFormat": "8 位字符" + "threemaRecipientTypeIdentityFormat": "8 位字符", + "PushPlusPlus Token": "PushPlusPlus Token" } diff --git a/src/lang/zh-TW.json b/src/lang/zh-TW.json index b894f1298..98392b648 100644 --- a/src/lang/zh-TW.json +++ b/src/lang/zh-TW.json @@ -1085,5 +1085,6 @@ "conditionValuePlaceholder": "值", "Separate multiple email addresses with commas": "用逗號分隔多個電子郵件地址", "record": "記錄", - "New Group": "新分組" + "New Group": "新分組", + "PushPlusPlus Token": "PushPlusPlus Token" }