docs: fix Javascript sign out syntax (#39279)

This commit is contained in:
Timothy Lim authored and GitHub committed 2025-10-06 15:30:08 +08:00
1 parent c74dbc5f73
commit 1e6941df4d
1 file changed
+2 -2
+2 -2
View File
@@ -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()'