summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startAssertion.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/browser/src/methods/startAssertion.ts')
-rw-r--r--packages/browser/src/methods/startAssertion.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/browser/src/methods/startAssertion.ts b/packages/browser/src/methods/startAssertion.ts
index 36c7194..f504f19 100644
--- a/packages/browser/src/methods/startAssertion.ts
+++ b/packages/browser/src/methods/startAssertion.ts
@@ -28,7 +28,7 @@ export default async function startAssertion(
allowCredentials: requestOptionsJSON.publicKey.allowCredentials.map(cred => {
// Make sure the credential ID length is a multiple of 4
const padLength = 4 - (cred.id.length % 4);
- let id = cred.id.padEnd(cred.id.length + padLength, '=');
+ const id = cred.id.padEnd(cred.id.length + padLength, '=');
return {
...cred,