Skip to content

Commit f66b0d0

Browse files
authored
fix: use magic link type for OTP sign in (#104)
1 parent 1942621 commit f66b0d0

File tree

1 file changed

+1
-2
lines changed
  • src/application/services/js-services/http

1 file changed

+1
-2
lines changed

src/application/services/js-services/http/gotrue.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export async function signInOTP ({
6161
}>('/verify', {
6262
email,
6363
token: code,
64-
type: 'recovery',
64+
type: 'magiclink',
6565
});
6666

6767
const data = response?.data;
@@ -160,4 +160,3 @@ export function signInDiscord (authUrl: string) {
160160

161161
window.open(url, '_current');
162162
}
163-

0 commit comments

Comments
 (0)