We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c70bd52 commit fe7e971Copy full SHA for fe7e971
lib/AuthHelper.php
@@ -171,7 +171,7 @@ public static function getAccessToken()
171
$response = HttpRequestJson::post($config['AdminUrl'] . 'oauth/access_token', $data);
172
173
if (CurlRequest::$lastHttpCode >= 400) {
174
- throw new SdkException('The shop is invalid or the authorization code has already been used.');
+ throw new SdkException("The shop is invalid or the authorization code has already been used.");
175
}
176
177
return isset($response['access_token']) ? $response['access_token'] : null;
0 commit comments