mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-14 15:58:48 +00:00
parent
c744231141
commit
1536e90053
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue