Fixed: Adjust Sonarr references to Radarr (#1977)

This commit is contained in:
James White
2017-08-21 20:48:45 +01:00
committed by Leonardo Galli
parent 685c5daf36
commit 38af8edd59
14 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
using RestSharp;
using RestSharp;
using NzbDrone.Common.EnvironmentInfo;
namespace NzbDrone.Core.Rest
@@ -9,7 +9,7 @@ namespace NzbDrone.Core.Rest
{
var restClient = new RestClient(baseUrl);
restClient.UserAgent = string.Format("Sonarr/{0} (RestSharp/{1}; {2}/{3})",
restClient.UserAgent = string.Format("Radarr/{0} (RestSharp/{1}; {2}/{3})",
BuildInfo.Version,
restClient.GetType().Assembly.GetName().Version,
OsInfo.Os, OsInfo.Version.ToString(2));