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 a591449 commit 83f97c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DNI.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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 get($dni, $asArray = false)
Expand Down

0 comments on commit 83f97c9

Please sign in to comment.