The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
getUser examples changed
Ollie Halliday168206aef21f
diff --git a/spec/supabase_js_v2_legacy.yml b/spec/supabase_js_v2_legacy.ymlindex e6208bcb81a..5ba0c18210a 100644--- a/spec/supabase_js_v2_legacy.yml+++ b/spec/supabase_js_v2_legacy.yml@@ -188,13 +188,13 @@ pages:isSpotlight: truejs: |```js- const user = supabase.auth.getUser()+ const { data: { user } } = await supabase.auth.getUser()```- name: Get the logged in user with a custom access token jwt.isSpotlight: truejs: |```js- const user = supabase.auth.getUser(jwt)+ const { data: { user } } = await supabase.auth.getUser(jwt)```auth.updateUser():title: 'updateUser()'