Manav Rathi 1 năm trước cách đây
mục cha
commit
057d11f39b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 };