Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs(auth): fix Dart signInWithOtp return type in email passwordless docs (#42339)

Jonathan Fulton759dde21761c
diff --git a/apps/docs/content/guides/auth/auth-email-passwordless.mdx b/apps/docs/content/guides/auth/auth-email-passwordless.mdx
index 34e48a8b2b4..56532c6dcbf 100644
--- a/apps/docs/content/guides/auth/auth-email-passwordless.mdx
+++ b/apps/docs/content/guides/auth/auth-email-passwordless.mdx
@@ -87,7 +87,7 @@ Read the [Deep Linking Documentation](/docs/guides/auth/native-mobile-deep-linki
```dart
Future<void> signInWithEmail() async {
- final AuthResponse res = await supabase.auth.signInWithOtp(email: '[email protected]');
+ await supabase.auth.signInWithOtp(email: '[email protected]');
}
```
@@ -223,7 +223,7 @@ const { data, error } = await supabase.auth.signInWithOtp({
```dart
Future<void> signInWithEmailOtp() async {
- final AuthResponse res = await supabase.auth.signInWithOtp(email: '[email protected]');
+ await supabase.auth.signInWithOtp(email: '[email protected]');
}
```