diff --git a/server/notification-providers/onebot.js b/server/notification-providers/onebot.js index 0359e83aa..a01cf99a3 100644 --- a/server/notification-providers/onebot.js +++ b/server/notification-providers/onebot.js @@ -19,13 +19,13 @@ class OneBot extends NotificationProvider { let config = { headers: { "Content-Type": "application/json", - "Authorization": "Bearer " + notification.accessToken + "Authorization": "Bearer " + notification.accessToken, } }; let psuhText = "UptimeKuma Alert: " + msg; let data = { "auto_escape": true, - "message": psuhText + "message": psuhText, }; if (notification.msgType == "group") { data["message_type"] = "group";