1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

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

View File

@ -46,8 +46,9 @@ public TraktSettingsValidator()
// 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");
}
}