mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-01 10:50:40 -05:00
fix(passkey): don't return undefined to correctly resolve promises (#3959)
Co-authored-by: Шевелев Даниил <ds.shevelev@vebtech.by>
This commit is contained in:
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,
|
||||
|
||||
Reference in New Issue
Block a user