mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Handle cases where MAM author info converts null
This commit is contained in:
@@ -296,7 +296,7 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||||||
if (item.AuthorInfo != null)
|
if (item.AuthorInfo != null)
|
||||||
{
|
{
|
||||||
var authorInfo = JsonConvert.DeserializeObject<Dictionary<string, string>>(item.AuthorInfo);
|
var authorInfo = JsonConvert.DeserializeObject<Dictionary<string, string>>(item.AuthorInfo);
|
||||||
author = authorInfo.First().Value;
|
author = authorInfo?.First().Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (author != null)
|
if (author != null)
|
||||||
|
Reference in New Issue
Block a user