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
parent d5d4996c40
commit 73998b389b

View file

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