Skip to content

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

fix options argument in auth.resetPasswordForEmail

Bo Lubb17038c33a5
diff --git a/spec/supabase_js_v2_legacy.yml b/spec/supabase_js_v2_legacy.yml
index 0925a05d134..f9273fa7fc4 100644
--- a/spec/supabase_js_v2_legacy.yml
+++ b/spec/supabase_js_v2_legacy.yml
@@ -496,7 +496,7 @@ pages:
isSpotlight: true
js: |
```js
- const { error, data } = await supabase.auth.resetPasswordForEmail(email, options: {
+ const { error, data } = await supabase.auth.resetPasswordForEmail(email, {
redirectTo: 'https://example.com/update-password',
})
```