1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

Fixed: Align DownloadClientInfo in ManualInteractionRequiredMessage with DownloadMessage

Also handle null ref exceptions when DownloadClientInfo is null in notification service
This commit is contained in:
Qstick
2024-02-11 17:56:35 -06:00
parent 5f624a147b
commit 173b1d6a4c
4 changed files with 7 additions and 8 deletions
@@ -209,8 +209,8 @@ namespace NzbDrone.Core.Notifications.Webhook
Tags = GetTagLabels(message.Movie)
},
DownloadInfo = new WebhookDownloadClientItem(quality, message.TrackedDownload.DownloadItem),
DownloadClient = message.DownloadClientName,
DownloadClientType = message.DownloadClientType,
DownloadClient = message.DownloadClientInfo?.Name,
DownloadClientType = message.DownloadClientInfo?.Type,
DownloadId = message.DownloadId,
CustomFormatInfo = new WebhookCustomFormatInfo(remoteMovie.CustomFormats, remoteMovie.CustomFormatScore),
Release = new WebhookGrabbedRelease(message.Release)