This commit is contained in:
Manav Rathi 2024-05-23 12:47:29 +05:30
parent 51dc8d1de6
commit 14655e5633
No known key found for this signature in database

View file

@ -82,7 +82,7 @@ export const codeFromRawData = (id: string, rawData: string): Code => {
return new Code(
_getAccount(uriPath),
_getIssuer(uriPath, uriParams),
_getDigits(uriParams) ?? 6,
_getDigits(uriParams) || 6,
_getPeriod(uriParams),
getSanitizedSecret(uriParams),
_getAlgorithm(uriParams),