Fixed: On Import notifications for webhooks

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

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

Loading…
Cancel
Save