Skip to content

Commit

Permalink
Remove ChinalableHttpClient.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Feb 24, 2022
1 parent 2ab9121 commit 1926a17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/OpenWork/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public function getAuthorizerAccessToken(

public function createClient(): Client
{
return new Client($this->getHttpClient(), '', $this->getProviderAccessToken());
return new Client($this->getHttpClient(), $this->getProviderAccessToken());
}

public function getOAuth(string $suiteId, ?AccessTokenInterface $suiteAccessToken = null): OpenWeWork
Expand Down
1 change: 0 additions & 1 deletion tests/Pay/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use EasyWeChat\Pay\Application;
use EasyWeChat\Pay\Contracts\Merchant;
use EasyWeChat\Pay\MerchantAwareHttpClient;
use EasyWeChat\Tests\TestCase;
use Symfony\Component\HttpClient\CurlHttpClient;

Expand Down

1 comment on commit 1926a17

@vercel
Copy link

@vercel vercel bot commented on 1926a17 Feb 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.