mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-06 08:07:20 +02:00
Only get DownloadClientId when its been added to history
This commit is contained in:
parent
16356b6319
commit
332136bc6f
@ -124,7 +124,7 @@ private void CheckHistory(List<History.History> grabbedHistory, List<History.His
|
|||||||
|
|
||||||
private List<History.History> GetHistoryItems(List<History.History> grabbedHistory, string downloadClientId)
|
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))
|
h.Data[DOWNLOAD_CLIENT_ID].Equals(downloadClientId))
|
||||||
.ToList();
|
.ToList();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user