You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/src/Prowlarr.Api.V1/Indexers/IndexerDefaultCategoriesMod...

20 lines
442 B

using NzbDrone.Core.Indexers;
using Prowlarr.Api.V1;
namespace NzbDrone.Api.V1.Indexers
{
public class IndexerDefaultCategoriesModule : ProwlarrV1Module
{
public IndexerDefaultCategoriesModule()
: base("/indexer/categories")
{
Get("/", movie => GetAll());
}
private IndexerCategory[] GetAll()
{
return NewznabStandardCategory.ParentCats;
}
}
}