New: Send TrackFile in Webhook retag payload

Fixes #2533
This commit is contained in:
Qstick 2022-09-26 20:02:46 -05:00
commit 7dde5e0e42
2 changed files with 3 additions and 1 deletions

View file

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

View file

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