From 021d265e2341459437ae3e86af6a55aaa190d49c Mon Sep 17 00:00:00 2001 From: Bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Fri, 4 Nov 2022 10:11:51 -0500 Subject: [PATCH] move Notifiarr to header auth from url auth --- src/NzbDrone.Core/Notifications/Notifiarr/NotifiarrProxy.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Notifications/Notifiarr/NotifiarrProxy.cs b/src/NzbDrone.Core/Notifications/Notifiarr/NotifiarrProxy.cs index 41a1ed904..c16ae6ba3 100644 --- a/src/NzbDrone.Core/Notifications/Notifiarr/NotifiarrProxy.cs +++ b/src/NzbDrone.Core/Notifications/Notifiarr/NotifiarrProxy.cs @@ -59,8 +59,9 @@ namespace NzbDrone.Core.Notifications.Notifiarr try { var instanceName = _configFileProvider.InstanceName; - var requestBuilder = new HttpRequestBuilder(URL + "/api/v1/notification/lidarr/" + settings.APIKey).Post(); + var requestBuilder = new HttpRequestBuilder(URL + "/api/v1/notification/lidarr/").Post(); requestBuilder.AddFormParameter("instanceName", instanceName).Build(); + requestBuilder.SetHeader("X-API-Key", settings.APIKey); foreach (string key in message.Keys) {