Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor: use const

jamesgeorge007caf33ba87e88
diff --git a/assets/js/oauth.js b/assets/js/oauth.js
index 0f2c866ed..022c33627 100644
--- a/assets/js/oauth.js
+++ b/assets/js/oauth.js
@@ -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);
};