fix api path
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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 { | ... | ... |
-
Please register or sign in to post a comment