refactor: use const
This commit is contained in:
parent
46d5ffc05b
commit
caf33ba87e
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ const base64urlencode = (
|
|||
.replace(/=+$/, "");
|
||||
// Return the base64-urlencoded sha256 hash for the PKCE challenge
|
||||
const pkceChallengeFromVerifier = async v => {
|
||||
let hashed = await sha256(v);
|
||||
const hashed = await sha256(v);
|
||||
return base64urlencode(hashed);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue