New: Include episode file with episode file deleted events
Closes #4282
This commit is contained in:
parent
ec698c2cf7
commit
b815d27a10
|
@ -83,6 +83,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|||
EventType = WebhookEventType.EpisodeFileDelete,
|
||||
Series = new WebhookSeries(deleteMessage.Series),
|
||||
Episodes = deleteMessage.EpisodeFile.Episodes.Value.ConvertAll(x => new WebhookEpisode(x)),
|
||||
EpisodeFile = deleteMessage.EpisodeFile,
|
||||
DeleteReason = deleteMessage.Reason
|
||||
};
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|||
{
|
||||
public WebhookSeries Series { get; set; }
|
||||
public List<WebhookEpisode> Episodes { get; set; }
|
||||
public EpisodeFile EpisodeFile { get; set; }
|
||||
public DeleteMediaFileReason DeleteReason { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue