Skip to content

Commit 96efdc8

Browse files
committed
Fix #37
1 parent 5acd427 commit 96efdc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Blockchain.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function setServiceUrl($service_url) {
8888
}
8989

9090
public function post($resource, $data=null) {
91-
$url = URL;
91+
$url = Blockchain::URL;
9292

9393
if (($resource == "api/v2/create") || (substr($resource, 0, 8) === "merchant")) {
9494
if ($this->service_url == null) {
@@ -120,7 +120,7 @@ public function post($resource, $data=null) {
120120
}
121121

122122
public function get($resource, $params=null) {
123-
$url = URL;
123+
$url = Blockchain::URL;
124124

125125
if (($resource == "api/v2/create") || (substr($resource, 0, 8) === "merchant")) {
126126
$url = SERVICE_URL;

0 commit comments

Comments
 (0)