mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-22 07:43:01 +00:00
parent
8cb58a63d8
commit
fb9a5efe05
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace Sonarr.Api.V3.Series
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public object Search([FromQuery] string term)
|
public IEnumerable<SeriesResource> Search([FromQuery] string term)
|
||||||
{
|
{
|
||||||
var tvDbResults = _searchProxy.SearchForNewSeries(term);
|
var tvDbResults = _searchProxy.SearchForNewSeries(term);
|
||||||
return MapToResource(tvDbResults);
|
return MapToResource(tvDbResults);
|
||||||
|
|
Loading…
Reference in a new issue