Fix spelling and merge mistake

This commit is contained in:
Louis Lam 2022-04-14 10:55:41 +08:00
parent ddf8a7a692
commit d0b5f147e2
2 changed files with 2 additions and 3 deletions

View file

@ -22,10 +22,10 @@ class OneBot extends NotificationProvider {
"Authorization": "Bearer " + notification.accessToken, "Authorization": "Bearer " + notification.accessToken,
} }
}; };
let psuhText = "UptimeKuma Alert: " + msg; let pushText = "UptimeKuma Alert: " + msg;
let data = { let data = {
"auto_escape": true, "auto_escape": true,
"message": psuhText, "message": pushText,
}; };
if (notification.msgType == "group") { if (notification.msgType == "group") {
data["message_type"] = "group"; data["message_type"] = "group";

View file

@ -74,7 +74,6 @@ class Notification {
new GoogleChat(), new GoogleChat(),
new Gorush(), new Gorush(),
new Alerta(), new Alerta(),
new GoogleChat(),
new OneBot(), new OneBot(),
]; ];