Skip to content

Commit

Permalink
Fix to support RFC 3986 uri, resolves #35
Browse files Browse the repository at this point in the history
  • Loading branch information
maclof authored Nov 19, 2018
1 parent b235557 commit 9715e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function getGuzzleClient()
*/
public function sendRequest($method, $uri, $query = [], $body = [], $namespace = true, $apiVersion = null)
{
$baseUri = $apiVersion ? '/apis/' . $apiVersion : '/api/' . $this->apiVersion;
$baseUri = $apiVersion ? 'apis/' . $apiVersion : 'api/' . $this->apiVersion;
if ($namespace) {
$baseUri .= '/namespaces/' . $this->namespace;
}
Expand Down

0 comments on commit 9715e04

Please sign in to comment.