Skip to content

Commit 019a00c

Browse files
committed
Should be the hash being returned not the value string.
1 parent d46d7fc commit 019a00c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jwtManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class JwtManager {
2020
const verifier = `${timestamp};${fineTuner};${valueString}`;
2121
hash = base64url.encode(crypto.createHash('sha256').update(verifier).digest());
2222
if (hash.match(/^00/)) {
23-
return `v2;${verifier}`;
23+
return hash;
2424
}
2525
}
2626

0 commit comments

Comments
 (0)