From 9659ebe282f05b090fcdd6a7f9c4ba8590849403 Mon Sep 17 00:00:00 2001 From: Edison Zhang Date: Tue, 24 Sep 2024 07:47:51 -0700 Subject: [PATCH] fix(kotlin-callbacks): typo in fetchUserAttributes API code example --- .../lib-v1/auth/android/user_attributes/10_fetch_attributes.mdx | 2 +- .../lib/auth/android/user_attributes/10_fetch_attributes.mdx | 2 +- .../auth/connect-your-frontend/manage-user-attributes/index.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fragments/lib-v1/auth/android/user_attributes/10_fetch_attributes.mdx b/src/fragments/lib-v1/auth/android/user_attributes/10_fetch_attributes.mdx index 5f539517835..19b9b9e1c3b 100644 --- a/src/fragments/lib-v1/auth/android/user_attributes/10_fetch_attributes.mdx +++ b/src/fragments/lib-v1/auth/android/user_attributes/10_fetch_attributes.mdx @@ -13,7 +13,7 @@ Amplify.Auth.fetchUserAttributes( ```kotlin Amplify.Auth.fetchUserAttributes( - { Log.i("AuthDemo", "User attributes = $attributes") }, + { Log.i("AuthDemo", "User attributes = $it") }, { Log.e("AuthDemo", "Failed to fetch user attributes", it) } ) ``` diff --git a/src/fragments/lib/auth/android/user_attributes/10_fetch_attributes.mdx b/src/fragments/lib/auth/android/user_attributes/10_fetch_attributes.mdx index 5f539517835..19b9b9e1c3b 100644 --- a/src/fragments/lib/auth/android/user_attributes/10_fetch_attributes.mdx +++ b/src/fragments/lib/auth/android/user_attributes/10_fetch_attributes.mdx @@ -13,7 +13,7 @@ Amplify.Auth.fetchUserAttributes( ```kotlin Amplify.Auth.fetchUserAttributes( - { Log.i("AuthDemo", "User attributes = $attributes") }, + { Log.i("AuthDemo", "User attributes = $it") }, { Log.e("AuthDemo", "Failed to fetch user attributes", it) } ) ``` diff --git a/src/pages/[platform]/build-a-backend/auth/connect-your-frontend/manage-user-attributes/index.mdx b/src/pages/[platform]/build-a-backend/auth/connect-your-frontend/manage-user-attributes/index.mdx index 3bcf31cf14d..869c4160d85 100644 --- a/src/pages/[platform]/build-a-backend/auth/connect-your-frontend/manage-user-attributes/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/connect-your-frontend/manage-user-attributes/index.mdx @@ -201,7 +201,7 @@ Amplify.Auth.fetchUserAttributes( ```kotlin Amplify.Auth.fetchUserAttributes( - { Log.i("AuthDemo", "User attributes = $attributes") }, + { Log.i("AuthDemo", "User attributes = $it") }, { Log.e("AuthDemo", "Failed to fetch user attributes", it) } ) ```