Torpotato username regression

This commit is contained in:
Devin Buhl 2017-01-14 12:27:16 -05:00
parent 4b559cf29c
commit 16c1a2ee50
1 changed files with 9 additions and 0 deletions

View File

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