Fixed: Webhook events not sent for series deletions

This commit is contained in:
Mark McDowall 2021-01-24 12:18:39 -08:00
parent a510c9e86d
commit 98dc20d919
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,7 @@ namespace NzbDrone.Core.Notifications.Webhook
Series = new WebhookSeries(deleteMessage.Series),
Episodes = deleteMessage.EpisodeFile.Episodes.Value.ConvertAll(x => new WebhookEpisode(x))
};
_proxy.SendWebhook(payload, Settings);
}
@ -95,6 +96,8 @@ namespace NzbDrone.Core.Notifications.Webhook
Series = new WebhookSeries(deleteMessage.Series),
DeletedFiles = deleteMessage.DeletedFiles
};
_proxy.SendWebhook(payload, Settings);
}
public override void OnHealthIssue(HealthCheck.HealthCheck healthCheck)