New: Send TrackFile in Webhook retag payload

Fixes #2533
pull/3017/head
Qstick 2 years ago
parent 4703f8ac6c
commit 7dde5e0e42

@ -87,7 +87,8 @@ namespace NzbDrone.Core.Notifications.Webhook
var payload = new WebhookRetagPayload
{
EventType = WebhookEventType.Retag,
Artist = new WebhookArtist(message.Artist)
Artist = new WebhookArtist(message.Artist),
TrackFile = new WebhookTrackFile(message.TrackFile)
};
_proxy.SendWebhook(payload, Settings);

@ -3,5 +3,6 @@ namespace NzbDrone.Core.Notifications.Webhook
public class WebhookRetagPayload : WebhookPayload
{
public WebhookArtist Artist { get; set; }
public WebhookTrackFile TrackFile { get; set; }
}
}

Loading…
Cancel
Save