Temporarily answer to the old newznab url

pull/49/head
ta264 4 years ago committed by Qstick
parent 76c3283c05
commit ed5bed7538

@ -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)
{

Loading…
Cancel
Save