mirror of
https://github.com/Readarr/Readarr
synced 2026-01-25 17:02:54 +01:00
Add return type for series/lookup endpoint
(cherry picked from commit fb9a5efe051298f1f1c9d722696803db33b2fac1)
This commit is contained in:
parent
d5d4996c40
commit
73998b389b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ public AuthorLookupController(ISearchForNewAuthor searchProxy)
|
|||
}
|
||||
|
||||
[HttpGet]
|
||||
public object Search([FromQuery] string term)
|
||||
public IEnumerable<SeriesResource> Search([FromQuery] string term)
|
||||
{
|
||||
var searchResults = _searchProxy.SearchForNewAuthor(term);
|
||||
return MapToResource(searchResults).ToList();
|
||||
|
|
|
|||
Loading…
Reference in a new issue