From 779288ea36704b062ef69df101aea979831da974 Mon Sep 17 00:00:00 2001 From: David Thornton Date: Sat, 28 Sep 2024 13:50:50 +1000 Subject: [PATCH] Update index.mdx This pull request addresses what appears to be a typographical error in the AWS Amplify v5 to v6 migration guide for the (old) `Auth.forgotPasswordSubmit()` versus (new) `confirmResetPassword()` calls. --- .../build-a-backend/auth/auth-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/gen1/[platform]/build-a-backend/auth/auth-migration-guide/index.mdx b/src/pages/gen1/[platform]/build-a-backend/auth/auth-migration-guide/index.mdx index 34cb11654fa..8578288c477 100644 --- a/src/pages/gen1/[platform]/build-a-backend/auth/auth-migration-guide/index.mdx +++ b/src/pages/gen1/[platform]/build-a-backend/auth/auth-migration-guide/index.mdx @@ -2263,7 +2263,7 @@ In v6, the `Auth.forgotPassword` API has become `resetPassword`. It uses named p confirmationCode, clientMetadata }) => { - await confirmResetPassword: ({ + await confirmResetPassword({ username, newPassword, confirmationCode,