fix: make sure primaryUserIndex exists

This commit is contained in:
Yarmo Mackenbach 2023-06-19 10:37:31 +02:00
parent 786e9cdd3e
commit 04180468ba
No known key found for this signature in database
GPG key ID: 3C57D093219103A3

View file

@ -250,6 +250,8 @@ const processKeyData = (keyData) => {
})
})
keyData.primaryUserIndex ||= 0
return keyData
}