1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Torpotato username regression

This commit is contained in:
Devin Buhl 2017-01-14 12:27:16 -05:00
parent 4b559cf29c
commit 16c1a2ee50

View File

@ -82,6 +82,11 @@ private IEnumerable<IndexerRequest> GetPagedRequests(string mode, int? tvdbId, s
{ {
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 @@ private IEnumerable<IndexerRequest> GetMovieRequest(MovieSearchCriteria searchCr
{ {
requestBuilder.AddQueryParam("user", Settings.User); requestBuilder.AddQueryParam("user", Settings.User);
} }
else
{
requestBuilder.AddQueryParam("user", "");
}
if (searchCriteria.Movie.ImdbId.IsNotNullOrWhiteSpace()) if (searchCriteria.Movie.ImdbId.IsNotNullOrWhiteSpace())
{ {