mirror of https://github.com/Sonarr/Sonarr
Fixed: Webhook events not sent for series deletions
This commit is contained in:
parent
a510c9e86d
commit
98dc20d919
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue