Skip to content

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

Merge branch 'master' into docs-next-get-user

Inian9d48692ecae3
diff --cc spec/supabase_js_v2_legacy.yml
index 5ba0c18210a,c6677eb8963..36890b42a98
--- a/spec/supabase_js_v2_legacy.yml
+++ b/spec/supabase_js_v2_legacy.yml
@@@ -188,13 -274,13 +274,13 @@@ pages
isSpotlight: true
js: |
```js
- const user = await supabase.auth.getUser()
+ const { data: { user } } = await supabase.auth.getUser()
```
- name: Get the logged in user with a custom access token jwt.
- isSpotlight: true
+ isSpotlight: false
js: |
```js
- const user = supabase.auth.getUser(jwt)
+ const { data: { user } } = await supabase.auth.getUser(jwt)
```
auth.updateUser():
title: 'updateUser()'