This commit is contained in:
Manav Rathi 2024-05-24 14:38:49 +05:30
parent c9de6d7a82
commit 057d11f39b
No known key found for this signature in database

View file

@ -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;
};