fix(passkey): don't return undefined to correctly resolve promises (#3959)

Co-authored-by: Шевелев Даниил <ds.shevelev@vebtech.by>
This commit is contained in:
Daniel-dev-s
2025-08-12 18:46:53 -07:00
committed by GitHub
co-authored by Шевелев Даниил
parent 2d5fdf4768
commit 80a71c02b9
@@ -59,9 +59,8 @@ export const getPasskeyActions = (
...options,
method: "POST",
});
if (!verified.data) {
return verified;
}
return verified;
} catch (e) {
return {
data: null,