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:
parent
d8407e74e7
commit
021d265e23
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue