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 f8ac6aa commit 861d37dCopy full SHA for 861d37d
src/Client.php
@@ -102,8 +102,7 @@ public function request(
102
$this->secretKey
103
) {
104
$string = $method . ' /' . $path;
105
- $authPart = base64_encode($this->apiKey . ':' .
106
- hash_hmac('sha256', $string, $this->secretKey, true));
+ $authPart = base64_encode($this->apiKey . ':' . hash_hmac('sha256', $string, $this->secretKey));
107
$authHeader = 'X-Hmac-Authorization: ' . $authPart;
108
109
$curlHeaderList[] = $authHeader;
0 commit comments