Merge pull request #257 from Radarr/patch-torpotato-regression

Torpotato username regression
pull/258/head
Devin Buhl 8 years ago committed by GitHub
commit 620f09ef8b

@ -82,6 +82,11 @@ namespace NzbDrone.Core.Indexers.TorrentPotato
{ {
requestBuilder.AddQueryParam("user", Settings.User); requestBuilder.AddQueryParam("user", Settings.User);
} }
else
{
requestBuilder.AddQueryParam("user", "");
}
requestBuilder.AddQueryParam("search", "the"); requestBuilder.AddQueryParam("search", "the");
yield return new IndexerRequest(requestBuilder.Build()); yield return new IndexerRequest(requestBuilder.Build());
@ -98,6 +103,10 @@ namespace NzbDrone.Core.Indexers.TorrentPotato
{ {
requestBuilder.AddQueryParam("user", Settings.User); requestBuilder.AddQueryParam("user", Settings.User);
} }
else
{
requestBuilder.AddQueryParam("user", "");
}
if (searchCriteria.Movie.ImdbId.IsNotNullOrWhiteSpace()) if (searchCriteria.Movie.ImdbId.IsNotNullOrWhiteSpace())
{ {

Loading…
Cancel
Save