mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 04:52:21 -07:00
Fixed: Prevent NullRef for webhooks when Artist Metadata is not set
Fixes #5368
This commit is contained in:
parent
860bd04c59
commit
ec050a7b3c
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|||
|
||||
private WebhookArtist GetArtist(Artist artist)
|
||||
{
|
||||
if (artist == null)
|
||||
if (artist?.Metadata?.Value == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue