Fixed: Prevent NullRef for webhooks when Artist Metadata is not set
Fixes #5368
This commit is contained in:
@@ -241,7 +241,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
|
||||
private WebhookArtist GetArtist(Artist artist)
|
||||
{
|
||||
if (artist == null)
|
||||
if (artist?.Metadata?.Value == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user