1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 09:21:57 +00:00

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

Torpotato username regression
This commit is contained in:
Devin Buhl 2017-01-14 12:31:16 -05:00 committed by GitHub
commit 620f09ef8b

View file

@ -82,6 +82,11 @@ private IEnumerable<IndexerRequest> GetPagedRequests(string mode, int? tvdbId, s
{
requestBuilder.AddQueryParam("user", Settings.User);
}
else
{
requestBuilder.AddQueryParam("user", "");
}
requestBuilder.AddQueryParam("search", "the");
yield return new IndexerRequest(requestBuilder.Build());
@ -98,6 +103,10 @@ private IEnumerable<IndexerRequest> GetMovieRequest(MovieSearchCriteria searchCr
{
requestBuilder.AddQueryParam("user", Settings.User);
}
else
{
requestBuilder.AddQueryParam("user", "");
}
if (searchCriteria.Movie.ImdbId.IsNotNullOrWhiteSpace())
{