Manav Rathi 1 year ago
parent
commit
057d11f39b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/apps/auth/src/services/code.ts

+ 1 - 1
web/apps/auth/src/services/code.ts

@@ -179,7 +179,7 @@ const parseAlgorithm = (url: URL): Code["algorithm"] => {
 };
 
 const parseCounter = (url: URL): number | undefined => {
-    const c = url.searchParams.get("period");
+    const c = url.searchParams.get("counter");
     return c ? parseInt(c, 10) : undefined;
 };