mirror of https://github.com/lidarr/Lidarr
fixed indexer endpoint.
This commit is contained in:
parent
c9f5cb0257
commit
1b234f40df
|
@ -5,7 +5,7 @@ namespace NzbDrone.Api.Indexers
|
|||
public class IndexerModule : ProviderModuleBase<ProviderResource, IIndexer, IndexerDefinition>
|
||||
{
|
||||
public IndexerModule(IndexerFactory indexerFactory)
|
||||
: base(indexerFactory)
|
||||
: base(indexerFactory, "indexer")
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,8 @@ namespace NzbDrone.Api
|
|||
{
|
||||
private readonly IProviderFactory<TProvider, TProviderDefinition> _providerFactory;
|
||||
|
||||
protected ProviderModuleBase(IProviderFactory<TProvider, TProviderDefinition> providerFactory)
|
||||
protected ProviderModuleBase(IProviderFactory<TProvider, TProviderDefinition> providerFactory, string resource)
|
||||
: base(resource)
|
||||
{
|
||||
_providerFactory = providerFactory;
|
||||
Get["templates"] = x => GetTemplates();
|
||||
|
|
Loading…
Reference in New Issue