mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 17:35:17 +00:00
refactor: fix type errors
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
async function requestEmail() {
|
||||
isLoading = true;
|
||||
await userService
|
||||
.requestOneTimeAccessEmail(email, data.redirect)
|
||||
.requestOneTimeAccessEmailAsUnauthenticatedUser(email, data.redirect)
|
||||
.then(() => (success = true))
|
||||
.catch((e) => (error = e.response?.data.error || m.an_unknown_error_occurred()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user