1
0
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:
Elias Schneider
2025-04-20 18:54:45 +02:00
parent debef9a66b
commit 2597907578
10 changed files with 17 additions and 11 deletions

View File

@@ -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()));