Manav Rathi 1 年之前
父节点
当前提交
057d11f39b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 };