1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

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

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2022-03-28 20:04:10 -05:00
parent 4f512c5cdf
commit 9bb394f420
7 changed files with 10 additions and 59 deletions
@@ -20,15 +20,5 @@ namespace Radarr.Api.V3.ImportLists
SharedValidator.RuleFor(c => c.QualityProfileId).ValidId();
SharedValidator.RuleFor(c => c.QualityProfileId).SetValidator(profileExistsValidator);
}
protected override void Validate(ImportListDefinition definition, bool includeWarnings)
{
if (!definition.Enable)
{
return;
}
base.Validate(definition, includeWarnings);
}
}
}