From 1e6941df4dbaed010f76e7b41a87342e4fcb5f64 Mon Sep 17 00:00:00 2001 From: Timothy Lim Date: Mon, 6 Oct 2025 15:30:08 +0800 Subject: [PATCH] docs: fix Javascript sign out syntax (#39279) --- apps/docs/spec/supabase_js_v2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index 249d310b83c..169464ae0fc 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -1197,14 +1197,14 @@ functions: isSpotlight: false code: | ```js - const { error } = await supabase.auth.signOut('local') + const { error } = await supabase.auth.signOut({ scope: 'local' }) ``` - id: sign-out-other-sessions name: Sign out (other sessions) isSpotlight: false code: | ```js - const { error } = await supabase.auth.signOut('others') + const { error } = await supabase.auth.signOut({ scope: 'others' }) ``` - id: verify-otp title: 'verifyOtp()'