mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 17:57:43 +00:00
Only get DownloadClientId when its been added to history
This commit is contained in:
parent
16356b6319
commit
332136bc6f
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ namespace NzbDrone.Core.Download
|
|||
|
||||
private List<History.History> GetHistoryItems(List<History.History> grabbedHistory, string downloadClientId)
|
||||
{
|
||||
return grabbedHistory.Where(h => h.Data.ContainsKey(DOWNLOAD_CLIENT) &&
|
||||
return grabbedHistory.Where(h => h.Data.ContainsKey(DOWNLOAD_CLIENT_ID) &&
|
||||
h.Data[DOWNLOAD_CLIENT_ID].Equals(downloadClientId))
|
||||
.ToList();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue