Fix some Build Issues, Renaming

This commit is contained in:
Qstick 2017-09-05 23:38:05 -04:00
parent 95051cbd63
commit a747c5f135
191 changed files with 16 additions and 16 deletions

View file

@ -0,0 +1,20 @@
using NzbDrone.Core.Notifications;
namespace Lidarr.Api.V3.Notifications
{
public class NotificationModule : ProviderModuleBase<NotificationResource, INotification, NotificationDefinition>
{
public static readonly NotificationResourceMapper ResourceMapper = new NotificationResourceMapper();
public NotificationModule(NotificationFactory notificationFactory)
: base(notificationFactory, "notification", ResourceMapper)
{
}
protected override void Validate(NotificationDefinition definition, bool includeWarnings)
{
if (!definition.OnGrab && !definition.OnDownload) return;
base.Validate(definition, includeWarnings);
}
}
}