Skip to content

Commit

Permalink
Merge pull request #84 from commercetools/Fix-UserAgent
Browse files Browse the repository at this point in the history
Adjust the UserAgent so All SDKs follow the same pattern
  • Loading branch information
MicheleRezk authored Aug 24, 2021
2 parents 5fc6a6f + a69b5db commit 7c572e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public UserAgentProvider()
osPlatform = " (FreeBSD/" + Environment.OSVersion.Version + ")";
}

this.UserAgent = $"commercetools-dotnet-core-sdk/{assemblyVersion} {frameworkName}/{attr.Version}{osPlatform}";
this.UserAgent = $"commercetools-sdk-dotnet-v2/{assemblyVersion} {frameworkName}/{attr.Version}{osPlatform}";
}

public string UserAgent { get; set; }
Expand Down

0 comments on commit 7c572e6

Please sign in to comment.