Skip to content

Commit c70bd52

Browse files
committed
Slight change in vocabulary
1 parent 90c329d commit c70bd52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AuthHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public static function getAccessToken()
171171
$response = HttpRequestJson::post($config['AdminUrl'] . 'oauth/access_token', $data);
172172

173173
if (CurlRequest::$lastHttpCode >= 400) {
174-
throw new SdkException("Invalid request. The shop domain is incorrect or the authorization code has already been used.");
174+
throw new SdkException('The shop is invalid or the authorization code has already been used.');
175175
}
176176

177177
return isset($response['access_token']) ? $response['access_token'] : null;

0 commit comments

Comments
 (0)