mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Fixed: Notifiarr - fix invalid/broken url (#3053)
This commit is contained in:
parent
a528c9e008
commit
b903f61360
1 changed files with 3 additions and 11 deletions
|
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Notifications.Notifiarr
|
||||||
|
|
||||||
public class NotifiarrProxy : INotifiarrProxy
|
public class NotifiarrProxy : INotifiarrProxy
|
||||||
{
|
{
|
||||||
private const string URL = "https://notfiarr.com";
|
private const string URL = "https://notifiarr.com";
|
||||||
private readonly IHttpClient _httpClient;
|
private readonly IHttpClient _httpClient;
|
||||||
private readonly IConfigFileProvider _configFileProvider;
|
private readonly IConfigFileProvider _configFileProvider;
|
||||||
private readonly Logger _logger;
|
private readonly Logger _logger;
|
||||||
|
@ -29,17 +29,9 @@ namespace NzbDrone.Core.Notifications.Notifiarr
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SendNotification(StringDictionary message, NotifiarrSettings settings)
|
public void SendNotification(StringDictionary message, NotifiarrSettings settings)
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
ProcessNotification(message, settings);
|
ProcessNotification(message, settings);
|
||||||
}
|
}
|
||||||
catch (NotifiarrException ex)
|
|
||||||
{
|
|
||||||
_logger.Error(ex, ex.Message);
|
|
||||||
throw new NotifiarrException(ex.Message);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public ValidationFailure Test(NotifiarrSettings settings)
|
public ValidationFailure Test(NotifiarrSettings settings)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue