Fixed: Return properly formatted episode file for deleted files Webhook
This commit is contained in:
parent
5a04602672
commit
2303bff205
|
@ -80,7 +80,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||||
ApplicationUrl = _configService.ApplicationUrl,
|
ApplicationUrl = _configService.ApplicationUrl,
|
||||||
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)),
|
||||||
EpisodeFile = deleteMessage.EpisodeFile,
|
EpisodeFile = new WebhookEpisodeFile(deleteMessage.EpisodeFile),
|
||||||
DeleteReason = deleteMessage.Reason
|
DeleteReason = deleteMessage.Reason
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||||
{
|
{
|
||||||
public WebhookSeries Series { get; set; }
|
public WebhookSeries Series { get; set; }
|
||||||
public List<WebhookEpisode> Episodes { get; set; }
|
public List<WebhookEpisode> Episodes { get; set; }
|
||||||
public EpisodeFile EpisodeFile { get; set; }
|
public WebhookEpisodeFile EpisodeFile { get; set; }
|
||||||
public DeleteMediaFileReason DeleteReason { get; set; }
|
public DeleteMediaFileReason DeleteReason { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue