Temporarily answer to the old newznab url

This commit is contained in:
ta264
2021-04-28 21:30:40 +01:00
committed by Qstick
parent 76c3283c05
commit ed5bed7538

View File

@@ -36,6 +36,7 @@ namespace NzbDrone.Api.V1.Indexers
_downloadService = downloadService;
}
[HttpGet("/api/v1/indexer/{id:int}/newznab")]
[HttpGet("{id:int}/api")]
public async Task<IActionResult> GetNewznabResponse(int id, [FromQuery] NewznabRequest request)
{
@@ -80,6 +81,7 @@ namespace NzbDrone.Api.V1.Indexers
}
}
[HttpGet("/api/v1/indexer/{id:int}/download")]
[HttpGet("{id:int}/download")]
public async Task<object> GetDownload(int id, string link, string file)
{