mirror of
https://github.com/Jackett/Jackett.git
synced 2025-12-24 06:54:49 +01:00
PotatoFeed: fix potatoenabled flag
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Jackett.Models.DTO
|
||||
site_link = indexer.SiteLink;
|
||||
language = indexer.Language;
|
||||
last_error = indexer.LastError;
|
||||
potatoenabled = indexer.TorznabCaps.Categories.Select(c => c.ID).Any(i => i == TorznabCatType.Movies.ID);
|
||||
potatoenabled = indexer.TorznabCaps.Categories.Any(i => TorznabCatType.Movies.Contains(i));
|
||||
|
||||
alternativesitelinks = indexer.AlternativeSiteLinks;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user