Merge pull request #1654 from stefroussos/patch-1

Changed supabase.auth.api.delete to .deleteUser
This commit is contained in:
Copple authored and GitHub committed 2021-05-21 22:16:39 +08:00
commit e601b72e6e
1 file changed
+1 -1
+1 -1
View File
@@ -471,7 +471,7 @@ pages:
isSpotlight: true
js: |
```js
const { user, error } = await supabase.auth.api.delete(
const { user, error } = await supabase.auth.api.deleteUser(
'715ed5db-f090-4b8c-a067-640ecee36aa0',
'YOUR_SERVICE_ROLE_KEY'
)