Skip to content

Commit

Permalink
cert verification disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Vidal committed May 5, 2017
1 parent f91ec8b commit c884ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ExchangeRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct($apiToken)
// $this->baseUri = "https://tecactus.com/";
$this->baseUri = "http://tecactus.app/";
$this->apiToken = $apiToken;
$this->client = new Client(['base_uri' => $this->baseUri, 'headers' => ['Accept' => 'application/json', 'Authorization' => 'Bearer ' . $this->apiToken]]);
$this->client = new Client(['base_uri' => $this->baseUri, 'verify' => false, 'headers' => ['Accept' => 'application/json', 'Authorization' => 'Bearer ' . $this->apiToken]]);
}

public function get($year, $month, $day = null, $forcePrevious = false, $asArray = false)
Expand Down
2 changes: 1 addition & 1 deletion src/RUC.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct($apiToken)
{
$this->baseUri = "https://tecactus.com/";
$this->apiToken = $apiToken;
$this->client = new Client(['base_uri' => $this->baseUri, 'headers' => ['Accept' => 'application/json', 'Authorization' => 'Bearer ' . $this->apiToken]]);
$this->client = new Client(['base_uri' => $this->baseUri, 'verify' => false, 'headers' => ['Accept' => 'application/json', 'Authorization' => 'Bearer ' . $this->apiToken]]);
}

public function getByRuc($ruc, $asArray = false)
Expand Down

0 comments on commit c884ca0

Please sign in to comment.