[web] auth / fix iteration on Safari (#4289)

.map is not defined on an iterator
This commit is contained in:
Manav Rathi
2024-12-03 11:47:29 +05:30
committed by GitHub

View File

@@ -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),
})),