mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: Deleting items from download queue should now work as intended.
This commit is contained in:
parent
534418d5a4
commit
19da886706
@ -30,9 +30,9 @@ public TrackedDownloadService(IParsingService parsingService,
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public TrackedDownload Find(string downloadId)
|
||||
public TrackedDownload Find(string trackingId)
|
||||
{
|
||||
return _cache.Find(downloadId);
|
||||
return _cache.Find(trackingId);
|
||||
}
|
||||
|
||||
public TrackedDownload TrackDownload(DownloadClientDefinition downloadClient, DownloadClientItem downloadItem)
|
||||
@ -78,7 +78,7 @@ public TrackedDownload TrackDownload(DownloadClientDefinition downloadClient, Do
|
||||
trackedDownload.State = GetStateFromHistory(historyItem.EventType);
|
||||
}
|
||||
|
||||
_cache.Set(downloadItem.DownloadId, trackedDownload);
|
||||
_cache.Set(trackedDownload.TrackingId, trackedDownload);
|
||||
|
||||
return trackedDownload;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user