diff --git a/src/Kore.php b/src/Kore.php index 8549a08..22347e9 100644 --- a/src/Kore.php +++ b/src/Kore.php @@ -6,7 +6,7 @@ use phpseclib3\Crypt\PublicKeyLoader; class Kore { - private $url = 'https://httpbin.org'; + public $url = 'https://httpbin.org'; public $privateKey; public $drone; public function __construct($privateKey, $drone) { diff --git a/src/Pix.php b/src/Pix.php index 0561dfe..23c97bc 100644 --- a/src/Pix.php +++ b/src/Pix.php @@ -32,7 +32,7 @@ class Pix extends Kore } return curlRequest( - 'https://httpbin.org/post', + $this->url . '/post', 'POST', [], [ @@ -69,7 +69,7 @@ class Pix extends Kore } return curlRequest( - 'https://httpbin.org/post', + $this->url . '/post', 'POST', [], [ @@ -114,7 +114,7 @@ class Pix extends Kore } return curlRequest( - 'https://httpbin.org/post', + $this->url . '/post', 'POST', [], [ @@ -158,7 +158,7 @@ class Pix extends Kore } return curlRequest( - 'https://httpbin.org/post', + $this->url . '/post', 'POST', [], [