Skip to content

Commit

Permalink
Release 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlong committed Jul 9, 2020
1 parent 11af0eb commit a0ad31f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RingCentral.Net/RestClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public RestClient(string clientId, string clientSecret, bool production = false,
public async Task<HttpResponseMessage> Request(HttpRequestMessage httpRequestMessage, int retriedTimes = 0,
CancellationToken? cancellationToken = null)
{
httpRequestMessage.Headers.Add("X-User-Agent", $"{appName}/{appVersion} RingCentral.Net/4.0.0-beta4");
httpRequestMessage.Headers.Add("X-User-Agent", $"{appName}/{appVersion} RingCentral.Net/4.0.0");
httpRequestMessage.Headers.Authorization =
httpRequestMessage.RequestUri.AbsolutePath.StartsWith("/restapi/oauth/")
? new AuthenticationHeaderValue("Basic",
Expand Down
2 changes: 1 addition & 1 deletion RingCentral.Net/RingCentral.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>RingCentral.Net</PackageId>
<PackageVersion>4.0.0-beta4</PackageVersion>
<PackageVersion>4.0.0</PackageVersion>
<Authors>Tyler Liu (tyler.liu@ringcentral.com)</Authors>
<Description>RingCentral SDK for .NET</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
1 change: 0 additions & 1 deletion RingCentral.Tests/AuthorizationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ await rc.Authorize(
await rc.Revoke();
}


[Fact]
public async void LoadTokenTest()
{
Expand Down

0 comments on commit a0ad31f

Please sign in to comment.