Skip to content

Commit f25563c

Browse files
authored
Merge branch 'develop' into release-spec-changes
2 parents e33af9b + bd7e821 commit f25563c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

PayPalCheckoutSdk/Core/PaypalHttpClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ private HttpResponse fetchAccessToken()
6060
//create a new client for acceess token.
6161
HttpClient AccessTokenClient = new HttpClient(environment);
6262
AccessTokenRequest request = new AccessTokenRequest(environment, refreshToken);
63+
var executeTask = this.client.Execute(request);
6364
//make fetch access token call sync to avoid deadlock.
6465
Task<HttpResponse> executeTask = Task.Run<HttpResponse>(async () => await AccessTokenClient.Execute(request));
6566
return executeTask.Result;

PayPalCheckoutSdk/PayPalCheckoutSdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
<PackageReference Include="BraintreeHttp-Dotnet" Version="0.3.0" />
1010
</ItemGroup>
1111

12-
</Project>
12+
</Project>

Samples/Samples.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
@@ -16,4 +16,4 @@
1616
<Folder Include="CaptureIntentExamples\" />
1717
<Folder Include="AuthorizeIntentExamples\" />
1818
</ItemGroup>
19-
</Project>
19+
</Project>

0 commit comments

Comments
 (0)