Permalink
Browse files

fixed version.

  • Loading branch information...
Copyleaks committed Aug 20, 2018
1 parent 02bd634 commit 544b07548addaf5f34510453a35b3cf2ca21551f
Showing with 1 addition and 3 deletions.
  1. +1 −3 CopyleaksAPI/Extentions/HttpClientHelper.cs
@@ -32,8 +32,6 @@ namespace Copyleaks.SDK.API.Extentions
{
internal static class HttpClientHelper
{
static readonly string ASSEMBLY_VERSION = "3.5.0";
public static void SetCopyleaksClient(this HttpClient client, string contentType)
{
client.BaseAddress = new Uri(Consts.ServiceEntryPoint);
@@ -42,7 +40,7 @@ public static void SetCopyleaksClient(this HttpClient client, string contentType
client.DefaultRequestHeaders.Accept.Clear();
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(contentType));
client.DefaultRequestHeaders.UserAgent.ParseAdd(string.Format("Copyleaks-.NET-SDK/{0}", ASSEMBLY_VERSION));
client.DefaultRequestHeaders.UserAgent.ParseAdd("Copyleaks-.NET-SDK/1.0");
// SDK Language Localization
// ----------------------

0 comments on commit 544b075

Please sign in to comment.