mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-08 04:21:32 +02:00
Fixed: Prevent NullRef for webhooks when Artist Metadata is not set
Fixes #5368
This commit is contained in:
parent
d23a2c453f
commit
fb7692342a
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