1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: Allow 0 Min on Size CustomFormat Condition

Fixes #7476
This commit is contained in:
Qstick 2022-08-14 16:19:28 -05:00
parent b549fddf95
commit 192dd9c137

View File

@ -10,7 +10,7 @@ public class SizeSpecificationValidator : AbstractValidator<SizeSpecification>
{ {
public SizeSpecificationValidator() public SizeSpecificationValidator()
{ {
RuleFor(c => c.Min).GreaterThan(0); RuleFor(c => c.Min).GreaterThanOrEqualTo(0);
RuleFor(c => c.Max).GreaterThan(c => c.Min); RuleFor(c => c.Max).GreaterThan(c => c.Min);
} }
} }