mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 23:39:44 +02:00
New: Notifiarr moved from webhook to API
This commit is contained in:
parent
a8ecefd91f
commit
61f05710f5
@ -78,8 +78,7 @@ private void ProcessNotification(StringDictionary message, NotifiarrSettings set
|
||||
try
|
||||
{
|
||||
var url = settings.Environment == (int)NotifiarrEnvironment.Development ? "https://dev.notifiarr.com" : "https://notifiarr.com";
|
||||
var requestBuilder = new HttpRequestBuilder(url + "/notifier.php").Post();
|
||||
requestBuilder.AddFormParameter("api", settings.APIKey).Build();
|
||||
var requestBuilder = new HttpRequestBuilder(url + "/api/v1/notification/radarr/" + settings.APIKey).Post();
|
||||
requestBuilder.AddFormParameter("instanceName", settings.InstanceName).Build();
|
||||
|
||||
foreach (string key in message.Keys)
|
||||
|
Loading…
Reference in New Issue
Block a user