From 66af08a830a1f386b741060e794c6c62629acc6e Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 24 Feb 2022 17:49:31 -0800 Subject: [PATCH] Fixed: On Import notifications for webhooks Closes #4913 --- src/NzbDrone.Core/Notifications/Webhook/Webhook.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs index 3550fb561..c7701af55 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs @@ -50,8 +50,8 @@ namespace NzbDrone.Core.Notifications.Webhook Episodes = episodeFile.Episodes.Value.ConvertAll(x => new WebhookEpisode(x)), EpisodeFile = new WebhookEpisodeFile(episodeFile), IsUpgrade = message.OldFiles.Any(), - DownloadClient = message.DownloadClientInfo.Name, - DownloadClientType = message.DownloadClientInfo.Type, + DownloadClient = message.DownloadClientInfo?.Name, + DownloadClientType = message.DownloadClientInfo?.Type, DownloadId = message.DownloadId };