mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
indexer specific setting validation
This commit is contained in:
parent
227e13d858
commit
e4fc0c57b3
11 changed files with 93 additions and 26 deletions
|
@ -53,7 +53,7 @@ namespace NzbDrone.Core.Indexers
|
|||
|
||||
public List<IIndexer> GetAvailableIndexers()
|
||||
{
|
||||
return All().Where(c => c.Enable && c.Settings.IsValid).Select(c => c.Instance).ToList();
|
||||
return All().Where(c => c.Enable && c.Settings.Validate().IsValid).Select(c => c.Instance).ToList();
|
||||
}
|
||||
|
||||
public Indexer Get(int id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue