Update server/notification-providers/bark.js

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Super Manito 2022-06-13 17:06:05 +08:00 committed by GitHub
parent 774fe58ddc
commit 252709ff49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,8 +53,8 @@ class Bark extends NotificationProvider {
if (notification.barkGroup != null) { if (notification.barkGroup != null) {
postUrl += "&group=" + notification.barkGroup; postUrl += "&group=" + notification.barkGroup;
} else { } else {
postUrl += "&group=" + "UptimeKuma";
// default group // default group
postUrl += "&group=" + "UptimeKuma";
} }
// set icon to uptime kuma icon, 11kb should be fine // set icon to uptime kuma icon, 11kb should be fine
postUrl += "&icon=" + barkNotificationAvatar; postUrl += "&icon=" + barkNotificationAvatar;