The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix asynchronous function call in setSession (#20990)
Mohammed Yasin Mulla40793dc6291a
diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.ymlindex b1a789e3fef..0e0939a1491 100644--- a/apps/docs/spec/supabase_js_v2.yml+++ b/apps/docs/spec/supabase_js_v2.yml@@ -1007,7 +1007,7 @@ functions:isSpotlight: truecode: |```js- const { data, error } = supabase.auth.setSession({+ const { data, error } = await supabase.auth.setSession({access_token,refresh_token})