mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-12-05 21:10:25 -08:00
fix: remove incorrect /push path from Bark notification endpoint (#6382)
This commit is contained in:
@@ -104,7 +104,7 @@ class Bark extends NotificationProvider {
|
||||
const params = this.additionalParameters(notification);
|
||||
result = await axios.get(`${endpoint}/${title}/${subtitle}${params}`, config);
|
||||
} else {
|
||||
result = await axios.post(`${endpoint}/push`, {
|
||||
result = await axios.post(endpoint, {
|
||||
title,
|
||||
body: subtitle,
|
||||
icon: barkNotificationAvatar,
|
||||
|
||||
Reference in New Issue
Block a user