1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Fixed: Validation when testing indexers, import lists, connections and download clients

This commit is contained in:
Mark McDowall
2022-03-28 17:32:48 -07:00
parent e7ca98489e
commit fa9136c4d1
12 changed files with 22 additions and 78 deletions
@@ -10,11 +10,5 @@ namespace Sonarr.Api.V3.Notifications
: base(notificationFactory, "notification", ResourceMapper)
{
}
protected override void Validate(NotificationDefinition definition, bool includeWarnings)
{
if (!definition.OnGrab && !definition.OnDownload) return;
base.Validate(definition, includeWarnings);
}
}
}