We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59fce82 commit b60422cCopy full SHA for b60422c
1 file changed
src/backend/notifier/NtfyWebhookNotifier.ts
@@ -81,7 +81,7 @@ export class NtfyWebhookNotifier extends AbstractWebhookNotifier {
81
priority: this.priorities[payload.priority],
82
};
83
if(this.config.token !== undefined) {
84
- req.authorization = this.config.token;
+ req.authorization = `Bearer ${this.config.token.replace(/Bearer/i, '').trim()}`;
85
} else if (this.config.username !== undefined) {
86
req.authorization = {
87
username: this.config.username,
0 commit comments