mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Fixed: Error when attempting to retry a release with nzbget
This commit is contained in:
parent
4e98a447cb
commit
89d0293f6e
@ -127,7 +127,7 @@ public void RemoveFromHistory(string id, NzbgetSettings settings)
|
||||
public void RetryDownload(string id, NzbgetSettings settings)
|
||||
{
|
||||
var history = GetHistory(settings);
|
||||
var item = history.SingleOrDefault(h => h.Parameters.SingleOrDefault(p => p.Name == "drone") != null);
|
||||
var item = history.SingleOrDefault(h => h.Parameters.SingleOrDefault(p => p.Name == "drone" && id == (p.Value as string)) != null);
|
||||
|
||||
if (item == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user