From 3e353a6710a39e9ce4ba3f5474e01c95f36e68fd Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 6 Mar 2022 18:01:33 -0600 Subject: [PATCH] Fixed: On Import notifications for webhooks Fixes #7084 Co-Authored-By: Mark McDowall --- 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 5268b1ee7..192fddcb2 100755 --- a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs @@ -50,8 +50,8 @@ public override void OnDownload(DownloadMessage message) RemoteMovie = new WebhookRemoteMovie(message.Movie), MovieFile = new WebhookMovieFile(movieFile), IsUpgrade = message.OldMovieFiles.Any(), - DownloadClient = message.DownloadClientInfo.Name, - DownloadClientType = message.DownloadClientInfo.Type, + DownloadClient = message.DownloadClientInfo?.Name, + DownloadClientType = message.DownloadClientInfo?.Type, DownloadId = message.DownloadId };