Fix wrong id generation method during family creation

This commit is contained in:
Jonas Lochmann
2022-09-19 02:00:00 +02:00
parent bb58fd6a9b
commit 00ce5853d8
+1 -1
View File
@@ -69,7 +69,7 @@ export const createFamily = async ({ database, mailAuthToken, firstParentDevice,
fullVersionUntil: (Date.now() + 1000 * 60 * 60 * 24 * 14).toString(10), fullVersionUntil: (Date.now() + 1000 * 60 * 60 * 24 * 14).toString(10),
hasFullVersion: true, hasFullVersion: true,
nextServerKeyRequestSeq: '1', nextServerKeyRequestSeq: '1',
u2fKeysVersion: generateIdWithinFamily() u2fKeysVersion: generateVersionId()
}, { transaction }) }, { transaction })
// create parent user // create parent user