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

Fixed: Rarbg indexer broken on develop.

This commit is contained in:
Taloth Saldono 2016-03-17 07:32:45 +01:00
parent 19b8fb6d8b
commit 22aa759abc

View File

@ -79,8 +79,6 @@ private IEnumerable<IndexerRequest> GetPagedRequests(string mode, int? tvdbId, s
.Resource("/pubapi_v2.php")
.Accept(HttpAccept.Json);
var httpRequest = new HttpRequest(Settings.BaseUrl + "/pubapi_v2.php", HttpAccept.Json);
requestBuilder.AddQueryParam("mode", mode);
if (tvdbId.HasValue)
@ -104,7 +102,7 @@ private IEnumerable<IndexerRequest> GetPagedRequests(string mode, int? tvdbId, s
requestBuilder.AddQueryParam("format", "json_extended");
requestBuilder.AddQueryParam("app_id", "Sonarr");
yield return new IndexerRequest(httpRequest);
yield return new IndexerRequest(requestBuilder.Build());
}
}
}