Skip to content

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

Update auth.mdx

Mihael Mutićb2f00fb9a4a8
diff --git a/web/docs/guides/auth.mdx b/web/docs/guides/auth.mdx
index 74473c23601..2a2b5233818 100644
--- a/web/docs/guides/auth.mdx
+++ b/web/docs/guides/auth.mdx
@@ -128,7 +128,7 @@ let { data, error } = await supabase
... you can simply define a rule on your database table, `auth.uid() = user_id`, and your request will return the rows which pass the rule, even when you remove the filter from your middleware:
```js
-let user = await supabase.from('users').select('user_id, name')
+let { data, error } = await supabase.from('users').select('user_id, name')
// console.log(data)
// Still => { id: 'd0714948', name: 'Jane' }