mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Added UserAgent to RestClient.
This commit is contained in:
committed by
Mark McDowall
parent
e9f39493f4
commit
9a649cf58e
@@ -106,7 +106,7 @@ namespace NzbDrone.Core.MetadataSource
|
||||
|
||||
private static IRestClient BuildClient(string resource, string method)
|
||||
{
|
||||
return new RestClient(string.Format("http://api.trakt.tv/{0}/{1}.json/bc3c2c460f22cbb01c264022b540e191", resource, method));
|
||||
return RestClientFactory.BuildClient(string.Format("http://api.trakt.tv/{0}/{1}.json/bc3c2c460f22cbb01c264022b540e191", resource, method));
|
||||
}
|
||||
|
||||
private static Series MapSeries(Show show)
|
||||
|
||||
Reference in New Issue
Block a user