Fixed: Handle cases where MAM author info converts null

pull/32/head
Qstick 4 years ago
parent e0fc7e3237
commit 4fd6924628

@ -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)

Loading…
Cancel
Save