1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04: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]
public object Search([FromQuery] string term)
public IEnumerable<SeriesResource> Search([FromQuery] string term)
{
var tvDbResults = _searchProxy.SearchForNewSeries(term);
return MapToResource(tvDbResults);