Manav Rathi 1 anno fa
parent
commit
057d11f39b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
 };