mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Merge pull request #1093 from geogolem/permitLargerTraktLists
allow larger trakt lists than 500
This commit is contained in:
commit
72f40470a7
1 changed files with 3 additions and 2 deletions
|
@ -46,8 +46,9 @@ namespace NzbDrone.Core.NetImport.Trakt
|
||||||
|
|
||||||
// Limit not smaller than 1 and not larger than 100
|
// Limit not smaller than 1 and not larger than 100
|
||||||
RuleFor(c => c.Limit)
|
RuleFor(c => c.Limit)
|
||||||
.InclusiveBetween(1, 500)
|
.GreaterThan(0)
|
||||||
.WithMessage("Must be 1 thru 500");
|
// .InclusiveBetween(1, 500)
|
||||||
|
.WithMessage("Must be integer greater than 0");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue