Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix

Manav Rathi14655e5633d5
diff --git a/web/apps/auth/src/services/code.ts b/web/apps/auth/src/services/code.ts
index e7afe691ef..a77660d450 100644
--- a/web/apps/auth/src/services/code.ts
+++ b/web/apps/auth/src/services/code.ts
@@ -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),