Manav Rathi hai 1 ano
pai
achega
057d11f39b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 };