mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 17:29:39 +08:00
fix(notification): 修正 PushPlusPlus 通知提供商的令牌使用错误
- 将 axios.post 请求的 URL 从 notification.pushPlusPlusToken 修改为 notification.PushPlusPlusToken - 更新通知设置中的 PushPlusPlus 显示名称,使其首字母大写 - 在中文语言文件中添加 PushPlusPlus Token 相关翻译
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
Reference in New Issue
Block a user