Merge pull request #1093 from geogolem/permitLargerTraktLists

allow larger trakt lists than 500
This commit is contained in:
geogolem 2017-03-09 09:17:16 -05:00 committed by GitHub
commit 72f40470a7
1 changed files with 3 additions and 2 deletions

View File

@ -46,8 +46,9 @@ namespace NzbDrone.Core.NetImport.Trakt
// Limit not smaller than 1 and not larger than 100
RuleFor(c => c.Limit)
.InclusiveBetween(1, 500)
.WithMessage("Must be 1 thru 500");
.GreaterThan(0)
// .InclusiveBetween(1, 500)
.WithMessage("Must be integer greater than 0");
}
}