1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-24 22:35:49 -04:00

Fixed: Send download client name instead of type for grab events

Closes #7078
This commit is contained in:
Mark McDowall
2022-02-21 20:07:18 -08:00
committed by Qstick
parent 8bb3764708
commit 544e942fe4
8 changed files with 21 additions and 10 deletions
@@ -31,7 +31,8 @@ namespace NzbDrone.Core.Notifications.Webhook
Movie = new WebhookMovie(message.Movie),
RemoteMovie = new WebhookRemoteMovie(remoteMovie),
Release = new WebhookRelease(quality, remoteMovie),
DownloadClient = message.DownloadClient,
DownloadClient = message.DownloadClientName,
DownloadClientType = message.DownloadClientType,
DownloadId = message.DownloadId
};
@@ -49,7 +50,8 @@ namespace NzbDrone.Core.Notifications.Webhook
RemoteMovie = new WebhookRemoteMovie(message.Movie),
MovieFile = new WebhookMovieFile(movieFile),
IsUpgrade = message.OldMovieFiles.Any(),
DownloadClient = message.DownloadClient,
DownloadClient = message.DownloadClientInfo.Name,
DownloadClientType = message.DownloadClientInfo.Type,
DownloadId = message.DownloadId
};