mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
docs: fix Javascript sign out syntax (#39279)
This commit is contained in:
1 parent
c74dbc5f73
commit
1e6941df4d
1 file changed
+2
-2
@@ -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()'
|
||||
|
||||
Reference in new issue
Block a user