mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-16 09:50:49 +02:00
Prevent query failures on Cardigann Indexers
This commit is contained in:
parent
f68915c5dd
commit
d292d086ee
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ private async Task<List<ReleaseInfo>> Dispatch(Func<IIndexer, Task<IndexerPageab
|
|||
if (criteriaBase.Categories != null && criteriaBase.Categories.Length > 0)
|
||||
{
|
||||
//Only query supported indexers
|
||||
indexers = indexers.Where(i => i.Capabilities.Categories.SupportedCategories(criteriaBase.Categories).Any()).ToList();
|
||||
indexers = indexers.Where(i => ((IndexerDefinition)i.Definition).Capabilities.Categories.SupportedCategories(criteriaBase.Categories).Any()).ToList();
|
||||
|
||||
if (indexers.Count == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue