From d0b5f147e23d10f3281599ecadac39a7228ed6c2 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 14 Apr 2022 10:55:41 +0800 Subject: [PATCH] Fix spelling and merge mistake --- server/notification-providers/onebot.js | 4 ++-- server/notification.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server/notification-providers/onebot.js b/server/notification-providers/onebot.js index a01cf99a..c08cc01e 100644 --- a/server/notification-providers/onebot.js +++ b/server/notification-providers/onebot.js @@ -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"; diff --git a/server/notification.js b/server/notification.js index 8783a7cd..a83a8cdc 100644 --- a/server/notification.js +++ b/server/notification.js @@ -74,7 +74,6 @@ class Notification { new GoogleChat(), new Gorush(), new Alerta(), - new GoogleChat(), new OneBot(), ];