[web] auth / fix iteration on Safari (#4289)
.map is not defined on an iterator
This commit is contained in:
@@ -142,7 +142,7 @@ export const authenticatorEntityDiff = async (
|
||||
}
|
||||
|
||||
return Promise.all(
|
||||
entities.values().map(async ({ id, encryptedData, header }) => ({
|
||||
[...entities.values()].map(async ({ id, encryptedData, header }) => ({
|
||||
id,
|
||||
data: await decrypt(encryptedData, header),
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user