Skip to content

Commit 569da74

Browse files
authored
Update ApiRequest.php
1 parent 7405d7c commit 569da74

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
@@ -150,7 +150,7 @@ private function sendPostRequest(JsonSerializable $data, string $api): array
150150
$requestHttpVerb = 'POST';
151151

152152
if ($this->localModeIsOn) {
153-
$urlToPostTo = self::LOCAL_HOST;
153+
$urlToPostTo = self::LOCAL_HOST . $api;
154154
} else {
155155
$urlToPostTo = ($this->getSandboxMode() ? self::SANDBOX_HOST : self::HOST) . $api;
156156
}

0 commit comments

Comments
 (0)