|
|
@ -80,7 +80,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var payload = new WebhookEpisodeDeletePayload
|
|
|
|
var payload = new WebhookEpisodeDeletePayload
|
|
|
|
{
|
|
|
|
{
|
|
|
|
EventType = WebhookEventType.Delete,
|
|
|
|
EventType = WebhookEventType.EpisodeFileDelete,
|
|
|
|
Series = new WebhookSeries(deleteMessage.Series),
|
|
|
|
Series = new WebhookSeries(deleteMessage.Series),
|
|
|
|
Episodes = deleteMessage.EpisodeFile.Episodes.Value.ConvertAll(x => new WebhookEpisode(x))
|
|
|
|
Episodes = deleteMessage.EpisodeFile.Episodes.Value.ConvertAll(x => new WebhookEpisode(x))
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -91,7 +91,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var payload = new WebhookSeriesDeletePayload
|
|
|
|
var payload = new WebhookSeriesDeletePayload
|
|
|
|
{
|
|
|
|
{
|
|
|
|
EventType = WebhookEventType.Delete,
|
|
|
|
EventType = WebhookEventType.SeriesDelete,
|
|
|
|
Series = new WebhookSeries(deleteMessage.Series),
|
|
|
|
Series = new WebhookSeries(deleteMessage.Series),
|
|
|
|
DeletedFiles = deleteMessage.DeletedFiles
|
|
|
|
DeletedFiles = deleteMessage.DeletedFiles
|
|
|
|
};
|
|
|
|
};
|
|
|
|