fix: remove incorrect /push path from Bark notification endpoint (#6382)

This commit is contained in:
Feng
2025-11-21 11:31:04 +08:00
committed by GitHub
parent 1a6d7214e9
commit 4002aee36f

View File

@@ -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,