New: Send TrackFile in Webhook retag payload

Fixes #2533
This commit is contained in:
Qstick 2022-09-26 20:02:46 -05:00
parent 4703f8ac6c
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
{
EventType = WebhookEventType.Retag,
Artist = new WebhookArtist(message.Artist)
Artist = new WebhookArtist(message.Artist),
TrackFile = new WebhookTrackFile(message.TrackFile)
};
_proxy.SendWebhook(payload, Settings);

View File

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