9b1a0216 by fehrlich

fix api path

1 parent 534c654c
...@@ -345,7 +345,7 @@ abstract class ImmoScoutAPI extends GuzzleClient ...@@ -345,7 +345,7 @@ abstract class ImmoScoutAPI extends GuzzleClient
345 private function getUrl($methodUri) 345 private function getUrl($methodUri)
346 { 346 {
347 $url = $this->getBaseUrl(); 347 $url = $this->getBaseUrl();
348 $path = '/api/offer/v1.0/user/{user}/'; 348 $path = 'api/offer/v1.0/user/{user}/';
349 if (substr($methodUri, 0, 1) !== '/') { 349 if (substr($methodUri, 0, 1) !== '/') {
350 $path .= $methodUri; 350 $path .= $methodUri;
351 } else { 351 } else {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!