1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-22 07:43:01 +00:00

Add return type for series/lookup endpoint

Closes #7438
This commit is contained in:
Mark McDowall 2024-12-01 09:00:36 -08:00
parent 8cb58a63d8
commit fb9a5efe05

View file

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