Skip to content

Commit

Permalink
Merge pull request #7 from jarrodbell/patch-1
Browse files Browse the repository at this point in the history
Update DeployBot.php
  • Loading branch information
JayBizzle committed Jul 6, 2019
2 parents 904bb90 + 353b332 commit 4ea57d3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/DeployBot.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ public function __construct($api_key, $account, $client = null)
$this->api_endpoint = $this->parseApiEndpoint($account);

$this->client = ($client) ?: new Client([
'base_url' => $this->api_endpoint,
'defaults' => [
//'proxy' => 'http://localhost:8888',
'headers' => [
'X-Api-Token' => $this->api_key,
'Accept' => 'application/json',
],
'base_uri' => $this->api_endpoint,
'headers' => [
'X-Api-Token' => $this->api_key,
'Accept' => 'application/json',
],
'debug' => false,
]);
Expand Down

0 comments on commit 4ea57d3

Please sign in to comment.