mirror of
https://github.com/Readarr/Readarr
synced 2025-12-29 11:47:12 +01:00
Fixed: Error fetching metadata when redirected to work endpoint
This commit is contained in:
parent
b4b14a5359
commit
90d671d68d
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ public List<Book> SearchByGoodreadsBookId(int id, bool getAllEditions)
|
|||
book = author.Books.Value.Where(b => b.Editions.Value.Any(e => e.ForeignEditionId == id.ToString())).FirstOrDefault();
|
||||
authors = new List<AuthorMetadata> { author.Metadata.Value };
|
||||
}
|
||||
else if (type == "book")
|
||||
else if (type == "work")
|
||||
{
|
||||
var tuple = PollBook(newId);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue