diff --git a/src/Vonage.php b/src/Vonage.php index 5aefc1e..9369caa 100644 --- a/src/Vonage.php +++ b/src/Vonage.php @@ -80,7 +80,7 @@ public function client() $signatureCredentials = null; if ($signatureSecret = $this->config['signature_secret'] ?? null) { - $signatureCredentials = new SignatureSecret($this->config['api_key'], $signatureSecret); + $signatureCredentials = new SignatureSecret($this->config['api_key'], $signatureSecret, $this->config['signature_method'] ?? 'md5hash'); } if ($basicCredentials && $signatureCredentials) {