mirror of
https://github.com/Readarr/Readarr
synced 2025-12-30 20:25:18 +01:00
Fixed: Goodreads owned books import
This commit is contained in:
parent
220808a7c4
commit
ede8b9aa4a
1 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue