1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

Fixed: Incorrect event types for interactive import required notifications

This commit is contained in:
Mark McDowall
2023-05-09 08:09:27 -07:00
parent 5ec282750b
commit f56d504816
10 changed files with 42 additions and 23 deletions
@@ -165,13 +165,17 @@ namespace NzbDrone.Core.Notifications.Webhook
return new WebhookManualInteractionPayload
{
EventType = WebhookEventType.Grab,
EventType = WebhookEventType.ManualInteractionRequired,
InstanceName = _configFileProvider.InstanceName,
ApplicationUrl = _configService.ApplicationUrl,
Series = new WebhookSeries(message.Series),
Episodes = remoteEpisode.Episodes.ConvertAll(x => new WebhookEpisode(x)),
DownloadInfo = new WebhookDownloadClientItem(quality, message.TrackedDownload.DownloadItem),
DownloadClient = message.DownloadClientName,
DownloadClientType = message.DownloadClientType,
DownloadId = message.DownloadId
DownloadId = message.DownloadId,
CustomFormatInfo = new WebhookCustomFormatInfo(remoteEpisode.CustomFormats, remoteEpisode.CustomFormatScore),
Release = new WebhookGrabbedRelease(message.Release)
};
}