From bd9df09f8765db212eee5b34e309e1a058e80fa5 Mon Sep 17 00:00:00 2001 From: ColdThunder11 <34985592+ColdThunder11@users.noreply.github.com> Date: Wed, 2 Feb 2022 21:37:09 +0800 Subject: [PATCH] Apply suggestions from code review, fix style Co-authored-by: Adam Stachowicz --- server/notification-providers/onebot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/notification-providers/onebot.js b/server/notification-providers/onebot.js index 0359e83a..a01cf99a 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";