Skip to content

Commit

Permalink
Fixed bug that oss client does not work.
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Aug 3, 2022
1 parent ae5c3a1 commit 796557b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ public function __construct($config = [])
$token = $config['token'] ?? null;
$proxy = $config['proxy'] ?? null;

$this->client = make(OssClient::class, [
$this->client = new OssClient(
$accessId,
$accessSecret,
$endpoint,
$isCName,
$token,
$proxy,
]);
);

$this->client->setTimeout($timeout);
$this->client->setConnectTimeout($connectTimeout);
Expand Down

0 comments on commit 796557b

Please sign in to comment.