mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Add return type for series/lookup endpoint
(cherry picked from commit fb9a5efe051298f1f1c9d722696803db33b2fac1)
This commit is contained in:
parent
beabad5e3a
commit
a81fc704ef
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue