Fixes #4552
@ -2,6 +2,7 @@ namespace NzbDrone.Core.Notifications.Webhook
{
public class WebhookAlbumDeletePayload : WebhookPayload
public WebhookArtist Artist { get; set; }
public WebhookAlbum Album { get; set; }
public bool DeletedFiles { get; set; }
}
@ -160,6 +160,7 @@ namespace NzbDrone.Core.Notifications.Webhook
EventType = WebhookEventType.AlbumDelete,
InstanceName = _configFileProvider.InstanceName,
ApplicationUrl = _configService.ApplicationUrl,
Artist = new WebhookArtist(deleteMessage.Album.Artist),
Album = new WebhookAlbum(deleteMessage.Album),
DeletedFiles = deleteMessage.DeletedFiles
};