Add return type for series/lookup endpoint

(cherry picked from commit fb9a5efe051298f1f1c9d722696803db33b2fac1)
This commit is contained in:
Mark McDowall 2024-12-01 09:00:36 -08:00 committed by servarr
commit a81fc704ef

View file

@ -23,7 +23,7 @@ namespace Lidarr.Api.V1.Artist
}
[HttpGet]
public object Search([FromQuery] string term)
public IEnumerable<SeriesResource> Search([FromQuery] string term)
{
var searchResults = _searchProxy.SearchForNewArtist(term);
return MapToResource(searchResults).ToList();