1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-27 22:57:09 -04:00

New: Add additional fields to Webhook Manual Interaction Required events

(cherry picked from commit 1ec1ce58e9f095222e7fe4a8c74a0720fed71558)

Closes #9874
This commit is contained in:
Alex Cortelyou
2024-03-27 22:30:21 -07:00
committed by Bogdan
parent 83bd4d0686
commit 4e47695f89
3 changed files with 22 additions and 0 deletions
@@ -212,6 +212,8 @@ namespace NzbDrone.Core.Notifications.Webhook
DownloadClient = message.DownloadClientInfo?.Name,
DownloadClientType = message.DownloadClientInfo?.Type,
DownloadId = message.DownloadId,
DownloadStatus = message.TrackedDownload.Status.ToString(),
DownloadStatusMessages = message.TrackedDownload.StatusMessages.Select(x => new WebhookDownloadStatusMessage(x)).ToList(),
CustomFormatInfo = new WebhookCustomFormatInfo(remoteMovie.CustomFormats, remoteMovie.CustomFormatScore),
Release = new WebhookGrabbedRelease(message.Release)
};