mirror of
https://github.com/Lidarr/Lidarr
synced 2025-12-06 08:25:54 +01: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 @@ protected WebhookPayload BuildTestPayload()
|
|||
|
||||
private WebhookArtist GetArtist(Artist artist)
|
||||
{
|
||||
if (artist == null)
|
||||
if (artist?.Metadata?.Value == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue