Skip to content

Commit

Permalink
fix: Remove use of 'let' for Rhino compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl authored Sep 23, 2022
1 parent 089a3e4 commit f6fdc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function decodeJwt_(jwt) {
* @return {string} Web safe base64 encoded with padding removed.
*/
function encodeUrlSafeBase64NoPadding_(value) {
let encodedValue = Utilities.base64EncodeWebSafe(value);
var encodedValue = Utilities.base64EncodeWebSafe(value);
encodedValue = encodedValue.slice(0, encodedValue.indexOf('='));
return encodedValue;
}
Expand Down

0 comments on commit f6fdc9a

Please sign in to comment.