Fixed: (OPS) Use `canUseToken` for download links when using `Use Freeleech Tokens`

pull/1943/head
Bogdan 12 months ago
parent e12cd68772
commit a0d0e3e232

@ -401,7 +401,7 @@ namespace NzbDrone.Core.Indexers.Definitions
.AddQueryParam("id", torrentId);
// Orpheus fails to download if usetoken=0 so we need to only add if we will use one
if (_settings.UseFreeleechToken)
if (_settings.UseFreeleechToken && canUseToken)
{
url = url.AddQueryParam("usetoken", "1");
}

Loading…
Cancel
Save