Skip to content

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

Fixed docs for updating a user in Flutter

Victor Hyltoft01aa49491674
diff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.yml
index 5ea1953b524..d83ffa4af3c 100644
--- a/spec/supabase_dart_v1.yml
+++ b/spec/supabase_dart_v1.yml
@@ -223,7 +223,7 @@ pages:
isSpotlight: true
dart: |
```dart
- final UserResponse res = await supabase.updateUser(
+ final UserResponse res = await supabase.auth.updateUser(
UserAttributes(
),
@@ -234,7 +234,7 @@ pages:
isSpotlight: false
dart: |
```dart
- final UserResponse res = await supabase.updateUser(
+ final UserResponse res = await supabase.auth.updateUser(
UserAttributes(
password: 'new password',
),
@@ -245,7 +245,7 @@ pages:
isSpotlight: true
dart: |
```dart
- final UserResponse res = await supabase.updateUser(
+ final UserResponse res = await supabase.auth.updateUser(
UserAttributes(
data: { 'hello': 'world' },
),