Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix typo

Manav Rathi057d11f39b52
diff --git a/web/apps/auth/src/services/code.ts b/web/apps/auth/src/services/code.ts
index 1d4c733e25..dc1a6db242 100644
--- a/web/apps/auth/src/services/code.ts
+++ b/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;
};