mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
fix typos
This commit is contained in:
parent
b4000ca91a
commit
e2a23af0b1
@ -61,7 +61,7 @@ class Blockonomics implements MethodInterface
|
|||||||
}
|
}
|
||||||
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
|
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
|
||||||
curl_setopt($ch, CURLOPT_HTTPHEADER, [
|
curl_setopt($ch, CURLOPT_HTTPHEADER, [
|
||||||
'Authorization: Bearer ' . $this->driver_class->api_key,
|
'Authorization: Bearer ' . $this->blockonomics->api_key,
|
||||||
'Content-type: application/x-www-form-urlencoded',
|
'Content-type: application/x-www-form-urlencoded',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ class Blockonomics implements MethodInterface
|
|||||||
$SET_CALLBACK_URL = 'https://www.blockonomics.co/api/update_callback';
|
$SET_CALLBACK_URL = 'https://www.blockonomics.co/api/update_callback';
|
||||||
$get_callback_response = $this->doCurlCall($GET_CALLBACKS_URL);
|
$get_callback_response = $this->doCurlCall($GET_CALLBACKS_URL);
|
||||||
|
|
||||||
$callback_url = $this->driver_class->callback_url;
|
$callback_url = $this->blockonomics->callback_url;
|
||||||
$xpub = $get_callback_response[0]->address;
|
$xpub = $get_callback_response[0]->address;
|
||||||
$post_content = '{"callback": "' . $callback_url . '", "xpub": "' . $xpub . '"}';
|
$post_content = '{"callback": "' . $callback_url . '", "xpub": "' . $xpub . '"}';
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ class Blockonomics implements MethodInterface
|
|||||||
|
|
||||||
public function getBTCAddress()
|
public function getBTCAddress()
|
||||||
{
|
{
|
||||||
$api_key = $this->driver_class->api_key;
|
$api_key = $this->blockonomics->api_key;
|
||||||
// TODO: remove ?reset=1 before marking PR as ready
|
// TODO: remove ?reset=1 before marking PR as ready
|
||||||
$url = 'https://www.blockonomics.co/api/new_address?reset=1';
|
$url = 'https://www.blockonomics.co/api/new_address?reset=1';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user