shopify-php-sdk
shopify-php-sdk copied to clipboard
BUG-About api_version
Please refer to https://github.com/robwittman/shopify-php-sdk/issues/43
PrivateApi.php, Line 32;
$args = array(
'base_uri' => sprintf(
"https://%s/admin/api/%s",
$this->myshopify_domain,
$this->getApiVersion()
),
'headers' => array(
'Authorization' => $this->createBasicAuthHeader(
$this->api_key,
$this->password
)
)
);
Fix:
$args = array(
'base_uri' => sprintf(
"https://%s/admin/api/%s/",
$this->myshopify_domain,
$this->getApiVersion()
),
'headers' => array(
'Authorization' => $this->createBasicAuthHeader(
$this->api_key,
$this->password
)
)
);
Only add a slash on line 32.