Merge pull request #9946 from supabase/docs/fix-ref-docs-build

Fix ref docs build
This commit is contained in:
dng authored and GitHub committed 2022-10-28 12:34:43 -07:00
commit d9cdaf4c6e
1 file changed
+3 -3
+3 -3
View File
@@ -606,14 +606,14 @@ pages:
isSpotlight: false
js: |
```js
// generate an email change link to be sent to the current email address
const { data, error } = await supabase.auth.admin.generateLink({
type: 'email_change_current',
email: 'current.email@example.com',
newEmail: 'new.email@example.com'
})
```
js: |
```js
// generate an email change link to be sent to the new email address
const { data, error } = await supabase.auth.admin.generateLink({
type: 'email_change_new',
email: 'current.email@example.com',