Fix typo
This commit is contained in:
parent
c9de6d7a82
commit
057d11f39b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue