diff --git a/RingCentral.Net/RestClient.cs b/RingCentral.Net/RestClient.cs index 31d15b421..40d583007 100644 --- a/RingCentral.Net/RestClient.cs +++ b/RingCentral.Net/RestClient.cs @@ -49,7 +49,7 @@ public RestClient(string clientId, string clientSecret, bool production = false, public async Task 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", diff --git a/RingCentral.Net/RingCentral.Net.csproj b/RingCentral.Net/RingCentral.Net.csproj index 146d4e3c1..229507abf 100644 --- a/RingCentral.Net/RingCentral.Net.csproj +++ b/RingCentral.Net/RingCentral.Net.csproj @@ -3,7 +3,7 @@ netstandard2.0 RingCentral.Net - 4.0.0-beta4 + 4.0.0 Tyler Liu (tyler.liu@ringcentral.com) RingCentral SDK for .NET MIT diff --git a/RingCentral.Tests/AuthorizationTest.cs b/RingCentral.Tests/AuthorizationTest.cs index 89b41632c..47faff0be 100644 --- a/RingCentral.Tests/AuthorizationTest.cs +++ b/RingCentral.Tests/AuthorizationTest.cs @@ -133,7 +133,6 @@ await rc.Authorize( await rc.Revoke(); } - [Fact] public async void LoadTokenTest() {