From b60422c26c9df7c63f810b99151e0c97fab76924 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Thu, 11 Sep 2025 18:52:22 +0000 Subject: [PATCH] fix: Try auth prefixed with Bearer --- src/backend/notifier/NtfyWebhookNotifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/notifier/NtfyWebhookNotifier.ts b/src/backend/notifier/NtfyWebhookNotifier.ts index dcb44f09..c8b1011b 100644 --- a/src/backend/notifier/NtfyWebhookNotifier.ts +++ b/src/backend/notifier/NtfyWebhookNotifier.ts @@ -81,7 +81,7 @@ export class NtfyWebhookNotifier extends AbstractWebhookNotifier { priority: this.priorities[payload.priority], }; if(this.config.token !== undefined) { - req.authorization = this.config.token; + req.authorization = `Bearer ${this.config.token.replace(/Bearer/i, '').trim()}`; } else if (this.config.username !== undefined) { req.authorization = { username: this.config.username, -- 2.51.2