Skip to content

Commit 988164d

Browse files
authored
Update ApiRequest.php
. $api added
1 parent 569da74 commit 988164d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private function sendGetRequest(string $api): array
5252
$requestHttpVerb = 'GET';
5353

5454
if ($this->localModeIsOn) {
55-
$urlToPostTo = self::LOCAL_HOST;
55+
$urlToPostTo = self::LOCAL_HOST . $api;
5656
} else {
5757
$urlToPostTo = ($this->getSandboxMode() ? self::SANDBOX_HOST : self::HOST) . $api;
5858
}

0 commit comments

Comments
 (0)