Fixed: On Import notifications for webhooks

Closes #4913
This commit is contained in:
Mark McDowall 2022-02-24 17:49:31 -08:00
parent 61e68b02ed
commit 66af08a830
1 changed files with 2 additions and 2 deletions

View File

@ -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
};