From bb17038c33a5f670ff12c8c89783a90c1a07d20f Mon Sep 17 00:00:00 2001 From: Bo Lu Date: Mon, 12 Sep 2022 12:55:48 +1000 Subject: [PATCH] fix options argument in auth.resetPasswordForEmail --- spec/supabase_js_v2_legacy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', }) ```