mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-21 02:36:21 -04:00
Fixed: Goodreads owned books import
This commit is contained in:
1 parent
220808a7c4
commit
ede8b9aa4a
1 file changed
+2
-3
@@ -62,14 +62,13 @@ private IReadOnlyList<OwnedBookResource> GetOwned(int page)
|
||||
{
|
||||
var builder = RequestBuilder()
|
||||
.SetSegment("route", $"owned_books/user")
|
||||
.AddQueryParam("format", "xml")
|
||||
.AddQueryParam("id", Settings.UserId)
|
||||
.AddQueryParam("page", page);
|
||||
|
||||
var httpResponse = OAuthGet(builder);
|
||||
|
||||
_logger.Trace("Got:\n{0}", httpResponse.Content);
|
||||
|
||||
return httpResponse.Deserialize<PaginatedList<OwnedBookResource>>("reviews").List;
|
||||
return httpResponse.Deserialize<PaginatedList<OwnedBookResource>>("owned_books").List;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user