mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-25 22:59:10 -04:00
Replaced built-in valuetypes with language keywords.
This commit is contained in:
@@ -6,11 +6,11 @@ namespace NzbDrone.Core.Rest
|
||||
{
|
||||
public static class RestClientFactory
|
||||
{
|
||||
public static RestClient BuildClient(String baseUrl)
|
||||
public static RestClient BuildClient(string baseUrl)
|
||||
{
|
||||
var restClient = new RestClient(baseUrl);
|
||||
|
||||
restClient.UserAgent = String.Format("Sonarr/{0} (RestSharp/{1}; {2}/{3})",
|
||||
restClient.UserAgent = string.Format("Sonarr/{0} (RestSharp/{1}; {2}/{3})",
|
||||
BuildInfo.Version,
|
||||
restClient.GetType().Assembly.GetName().Version,
|
||||
OsInfo.Os, OsInfo.Version.ToString(2));
|
||||
|
||||
Reference in New Issue
Block a user