Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/ce808c6d7b550b28a6ceaafd7fcdc30a62f0d1fc You should set ROOT_URL correctly, otherwise the web may not work correctly.

Prevent mapping null metadata responses

Fixes 
pull/2978/head
Bogdan 2 years ago
parent 63b1b56a4f
commit ce808c6d7b

@ -507,11 +507,15 @@ namespace NzbDrone.Core.MetadataSource.BookInfo
private List<Book> MapBulkBook(BulkBookResource resource)
{
var authors = resource.Authors.Select(MapAuthorMetadata).ToDictionary(x => x.ForeignAuthorId, x => x);
var books = new List<Book>();
var series = resource.Series.Select(MapSeries).ToList();
if (resource == null)
{
return books;
}
var books = new List<Book>();
var authors = resource.Authors.Select(MapAuthorMetadata).ToDictionary(x => x.ForeignAuthorId, x => x);
var series = resource.Series.Select(MapSeries).ToList();
foreach (var work in resource.Works)
{

Loading…
Cancel
Save