Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

add comment for generating email change link

Kang Mingf5f8f0fb198d
diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.yml
index 3074d777e12..633c7adb202 100644
--- a/spec/supabase_js_v2.yml
+++ b/spec/supabase_js_v2.yml
@@ -606,6 +606,7 @@ 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',