1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-02 21:15:05 +00:00

move Notifiarr to header auth from url auth

This commit is contained in:
Bakerboy448 2022-11-04 10:11:51 -05:00
parent d8407e74e7
commit 021d265e23

View file

@ -59,8 +59,9 @@ private void ProcessNotification(StringDictionary message, NotifiarrSettings set
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)
{