From 73998b389bc632164f295c90801a42b2e306818c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 1 Dec 2024 09:00:36 -0800 Subject: [PATCH] Add return type for series/lookup endpoint (cherry picked from commit fb9a5efe051298f1f1c9d722696803db33b2fac1) --- src/Readarr.Api.V1/Author/AuthorLookupController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Readarr.Api.V1/Author/AuthorLookupController.cs b/src/Readarr.Api.V1/Author/AuthorLookupController.cs index d02669c97..17c4efaec 100644 --- a/src/Readarr.Api.V1/Author/AuthorLookupController.cs +++ b/src/Readarr.Api.V1/Author/AuthorLookupController.cs @@ -18,7 +18,7 @@ public AuthorLookupController(ISearchForNewAuthor searchProxy) } [HttpGet] - public object Search([FromQuery] string term) + public IEnumerable Search([FromQuery] string term) { var searchResults = _searchProxy.SearchForNewAuthor(term); return MapToResource(searchResults).ToList();