mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
@@ -8,7 +8,8 @@ namespace NzbDrone.Core.Notifications.Pushover
|
||||
{
|
||||
}
|
||||
|
||||
public InvalidResponseException(string message) : base(message)
|
||||
public InvalidResponseException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace NzbDrone.Core.Notifications.Pushover
|
||||
public class Pushover : NotificationBase<PushoverSettings>
|
||||
{
|
||||
private readonly IPushoverProxy _proxy;
|
||||
|
||||
|
||||
public Pushover(IPushoverProxy proxy)
|
||||
{
|
||||
_proxy = proxy;
|
||||
|
||||
@@ -2,8 +2,8 @@ using System;
|
||||
using FluentValidation.Results;
|
||||
using NLog;
|
||||
using NzbDrone.Common.Extensions;
|
||||
using RestSharp;
|
||||
using NzbDrone.Core.Rest;
|
||||
using RestSharp;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Pushover
|
||||
{
|
||||
@@ -15,8 +15,8 @@ namespace NzbDrone.Core.Notifications.Pushover
|
||||
|
||||
public class PushoverProxy : IPushoverProxy
|
||||
{
|
||||
private readonly Logger _logger;
|
||||
private const string URL = "https://api.pushover.net/1/messages.json";
|
||||
private readonly Logger _logger;
|
||||
|
||||
public PushoverProxy(Logger logger)
|
||||
{
|
||||
@@ -45,7 +45,6 @@ namespace NzbDrone.Core.Notifications.Pushover
|
||||
request.AddParameter("sound", settings.Sound);
|
||||
}
|
||||
|
||||
|
||||
client.ExecuteAndValidate(request);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using FluentValidation;
|
||||
using NzbDrone.Core.Annotations;
|
||||
using NzbDrone.Core.ThingiProvider;
|
||||
using NzbDrone.Core.Validation;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Pushover
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user