Skip to content
This repository was archived by the owner on Nov 26, 2023. It is now read-only.

Commit ee340bd

Browse files
committed
JWTHelper: use method to generate QSH
1 parent 58ea3ea commit ee340bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/JWTHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static function create(string $url, string $method, string $issuer, strin
4949
'iss' => $issuer,
5050
'iat' => time(),
5151
'exp' => time() + 86400,
52-
'qsh' => new QSH($url, $method)
52+
'qsh' => static::qsh($url, $method)
5353
];
5454

5555
return \Firebase\JWT\JWT::encode($payload, $secret);

0 commit comments

Comments
 (0)