Skip to content

Commit

Permalink
Fixes setting API url (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
vityachis committed Dec 6, 2021
1 parent 68f1430 commit afa519c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/AbstractClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ public function __construct()
public function setApiUrl($url)
{
$this->apiUrl = $url;
$this->soapClient->__setLocation($this->apiUrl);
$this->soapClient->SoapClient($this->apiUrl, [
'exceptions' => true,
]);

return $this;
}
Expand Down

0 comments on commit afa519c

Please sign in to comment.