mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-22 00:53:09 +08:00
fix(notification-providers): 更新 PushPlus 接口调用参数
- 将 post 请求中的 "pushPlusSendToken" 参数名称修改为 "pushPlusSendKey" - 此修改解决了 PushPlus 接口调用时的参数名称错误问题
This commit is contained in:
@@ -14,7 +14,7 @@ class PushPlus extends NotificationProvider {
|
|||||||
const url = `https://www.pushplus.plus/send`;
|
const url = `https://www.pushplus.plus/send`;
|
||||||
try {
|
try {
|
||||||
await axios.post(url, {
|
await axios.post(url, {
|
||||||
"token": notification.pushPlusSendToken,
|
"token": notification.pushPlusSendKey,
|
||||||
"title": this.checkStatus(heartbeatJSON, monitorJSON),
|
"title": this.checkStatus(heartbeatJSON, monitorJSON),
|
||||||
"content": msg,
|
"content": msg,
|
||||||
"template": "html"
|
"template": "html"
|
||||||
|
Reference in New Issue
Block a user