Skip to content

Commit

Permalink
Remove storeId from base URI
Browse files Browse the repository at this point in the history
  • Loading branch information
DougSisk committed Jan 7, 2021
1 parent 4cfaa19 commit 24ca533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function setStoreId(string $storeId)
private function setClient()
{
$this->client = new Client([
'base_uri' => ($this->sandbox ? 'https://api-demo.helloextend.com' : 'https://api.helloextend.com') . '/' . $this->storeId,
'base_uri' => $this->sandbox ? 'https://api-demo.helloextend.com' : 'https://api.helloextend.com',
'headers' => [
'Accept' => 'application/json; version=' . $this->version,
'Content-Type' => 'application/json',
Expand Down

0 comments on commit 24ca533

Please sign in to comment.