diff --git a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs index 18fe1f157..11f41101e 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/Webhook.cs @@ -80,7 +80,7 @@ namespace NzbDrone.Core.Notifications.Webhook { var payload = new WebhookEpisodeDeletePayload { - EventType = WebhookEventType.Delete, + EventType = WebhookEventType.EpisodeFileDelete, Series = new WebhookSeries(deleteMessage.Series), Episodes = deleteMessage.EpisodeFile.Episodes.Value.ConvertAll(x => new WebhookEpisode(x)) }; @@ -91,7 +91,7 @@ namespace NzbDrone.Core.Notifications.Webhook { var payload = new WebhookSeriesDeletePayload { - EventType = WebhookEventType.Delete, + EventType = WebhookEventType.SeriesDelete, Series = new WebhookSeries(deleteMessage.Series), DeletedFiles = deleteMessage.DeletedFiles }; diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs index 60a238b85..492fafc9a 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs @@ -12,7 +12,8 @@ namespace NzbDrone.Core.Notifications.Webhook Grab, Download, Rename, - Delete, + SeriesDelete, + EpisodeFileDelete, Health } }