From edc53495fd16c2049ae8f31e205f8f41dcadc16d Mon Sep 17 00:00:00 2001 From: Simone Renesto <50303037+xqSimone@users.noreply.github.com> Date: Tue, 26 Nov 2024 10:54:18 +0100 Subject: [PATCH] docs: fix updateProvider edit user's password example (#10253) #10251 --- .../resources/app/commerce-modules/auth/auth-flows/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/apps/resources/app/commerce-modules/auth/auth-flows/page.mdx b/www/apps/resources/app/commerce-modules/auth/auth-flows/page.mdx index f2e5d73214..b1d383c82c 100644 --- a/www/apps/resources/app/commerce-modules/auth/auth-flows/page.mdx +++ b/www/apps/resources/app/commerce-modules/auth/auth-flows/page.mdx @@ -159,11 +159,11 @@ To update a user's password or other authentication details, use the `updateProv For example: ```ts -const { success } = await authModuleService.update( +const { success } = await authModuleService.updateProvider( "emailpass", // passed to the auth provider { - email: "user@example.com", + entity_id: "user@example.com", password: "supersecret", } )