Skip to content

Commit

Permalink
Update DeployBot.php
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
jarrodbell authored Jul 6, 2019
1 parent 904bb90 commit 353b332
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 353b332

Please sign in to comment.