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', }) ```