Fixed: On Import notifications for webhooks

Closes #4913
pull/4920/head
Mark McDowall 3 years ago
parent 61e68b02ed
commit 66af08a830

@ -50,8 +50,8 @@ namespace NzbDrone.Core.Notifications.Webhook
Episodes = episodeFile.Episodes.Value.ConvertAll(x => new WebhookEpisode(x)), Episodes = episodeFile.Episodes.Value.ConvertAll(x => new WebhookEpisode(x)),
EpisodeFile = new WebhookEpisodeFile(episodeFile), EpisodeFile = new WebhookEpisodeFile(episodeFile),
IsUpgrade = message.OldFiles.Any(), IsUpgrade = message.OldFiles.Any(),
DownloadClient = message.DownloadClientInfo.Name, DownloadClient = message.DownloadClientInfo?.Name,
DownloadClientType = message.DownloadClientInfo.Type, DownloadClientType = message.DownloadClientInfo?.Type,
DownloadId = message.DownloadId DownloadId = message.DownloadId
}; };

Loading…
Cancel
Save