mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
schema updates
This commit is contained in:
parent
1e88d2b7c3
commit
0eec2cd5f7
17 changed files with 199 additions and 107 deletions
|
@ -1,5 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using NzbDrone.Api.ClientSchema;
|
||||
using NzbDrone.Api.Mapping;
|
||||
using NzbDrone.Core.Indexers;
|
||||
using Omu.ValueInjecter;
|
||||
|
||||
|
@ -18,6 +19,9 @@ namespace NzbDrone.Api.Indexers
|
|||
|
||||
private List<IndexerResource> GetSchema()
|
||||
{
|
||||
|
||||
var indexers = _indexerService.All().InjectTo<List<IndexerResource>>();
|
||||
|
||||
/* var indexers = _indexerService.Schema();
|
||||
|
||||
var result = new List<IndexerResource>(indexers.Count);
|
||||
|
@ -33,7 +37,7 @@ namespace NzbDrone.Api.Indexers
|
|||
|
||||
return result;*/
|
||||
|
||||
return null;
|
||||
return indexers;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue