mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-17 11:44:38 -05:00
Fix spelling and merge mistake
This commit is contained in:
parent
ddf8a7a692
commit
d0b5f147e2
@ -22,10 +22,10 @@ class OneBot extends NotificationProvider {
|
||||
"Authorization": "Bearer " + notification.accessToken,
|
||||
}
|
||||
};
|
||||
let psuhText = "UptimeKuma Alert: " + msg;
|
||||
let pushText = "UptimeKuma Alert: " + msg;
|
||||
let data = {
|
||||
"auto_escape": true,
|
||||
"message": psuhText,
|
||||
"message": pushText,
|
||||
};
|
||||
if (notification.msgType == "group") {
|
||||
data["message_type"] = "group";
|
||||
|
@ -74,7 +74,6 @@ class Notification {
|
||||
new GoogleChat(),
|
||||
new Gorush(),
|
||||
new Alerta(),
|
||||
new GoogleChat(),
|
||||
new OneBot(),
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user