mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-07 04:00:32 +02:00
Update src/NzbDrone.Core/Indexers/Definitions/Newznab/NewznabRequestGenerator.cs
Co-authored-by: Bogdan <mynameisbogdan@users.noreply.github.com>
This commit is contained in:
parent
7ed616a177
commit
95f4df11cf
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ private IEnumerable<IndexerRequest> GetPagedRequests(SearchCriteriaBase searchCr
|
|||
searchUrl += "&apikey=" + Settings.ApiKey;
|
||||
}
|
||||
|
||||
if (searchCriteria.Limit.HasValue && searchCriteria.Limit.Value > 0)
|
||||
if (searchCriteria.Limit is > 0)
|
||||
{
|
||||
parameters.Set("limit", searchCriteria.Limit.ToString());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue