add the type property to the verifyOtp argument

Solve 400 error code caused by missing type property in the verifyOtp argument
This commit is contained in:
Mandela Mitau authored and GitHub committed 2022-10-24 11:48:11 +03:00
1 parent 1b2632dd00
commit 37bb8291a2
1 file changed
+1
@@ -145,6 +145,7 @@ values={[
let { session, error } = await supabase.auth.verifyOTP({
phone: '+13334445555',
token: '123456',
type:"sms"
})
```