mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-04-11 10:52:20 +00:00
fix(notification-providers): 更新 PushPlus 接口调用参数
- 将 post 请求中的 "pushPlusSendToken" 参数名称修改为 "pushPlusSendKey" - 此修改解决了 PushPlus 接口调用时的参数名称错误问题
This commit is contained in:
parent
82a79418ed
commit
387c31b488
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class PushPlus extends NotificationProvider {
|
|||
const url = `https://www.pushplus.plus/send`;
|
||||
try {
|
||||
await axios.post(url, {
|
||||
"token": notification.pushPlusSendToken,
|
||||
"token": notification.pushPlusSendKey,
|
||||
"title": this.checkStatus(heartbeatJSON, monitorJSON),
|
||||
"content": msg,
|
||||
"template": "html"
|
||||
|
|
Loading…
Add table
Reference in a new issue