Fixed: Handle cases where MAM author info converts null

This commit is contained in:
Qstick
2021-03-23 22:53:11 -04:00
parent e0fc7e3237
commit 4fd6924628

View File

@@ -296,7 +296,7 @@ namespace NzbDrone.Core.Indexers.Definitions
if (item.AuthorInfo != null)
{
var authorInfo = JsonConvert.DeserializeObject<Dictionary<string, string>>(item.AuthorInfo);
author = authorInfo.First().Value;
author = authorInfo?.First().Value;
}
if (author != null)