Skip to content

Commit 6c81fd6

Browse files
edisooonEdison Zhang
andauthored
fix(auth): typo in fetchUserAttributes API code example (#7992)
Co-authored-by: Edison Zhang <[email protected]>
1 parent d57eb75 commit 6c81fd6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/fragments/lib-v1/auth/android/user_attributes/10_fetch_attributes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Amplify.Auth.fetchUserAttributes(
1313

1414
```kotlin
1515
Amplify.Auth.fetchUserAttributes(
16-
{ Log.i("AuthDemo", "User attributes = $attributes") },
16+
{ Log.i("AuthDemo", "User attributes = $it") },
1717
{ Log.e("AuthDemo", "Failed to fetch user attributes", it) }
1818
)
1919
```

src/fragments/lib/auth/android/user_attributes/10_fetch_attributes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Amplify.Auth.fetchUserAttributes(
1313

1414
```kotlin
1515
Amplify.Auth.fetchUserAttributes(
16-
{ Log.i("AuthDemo", "User attributes = $attributes") },
16+
{ Log.i("AuthDemo", "User attributes = $it") },
1717
{ Log.e("AuthDemo", "Failed to fetch user attributes", it) }
1818
)
1919
```

src/pages/[platform]/build-a-backend/auth/connect-your-frontend/manage-user-attributes/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Amplify.Auth.fetchUserAttributes(
201201

202202
```kotlin
203203
Amplify.Auth.fetchUserAttributes(
204-
{ Log.i("AuthDemo", "User attributes = $attributes") },
204+
{ Log.i("AuthDemo", "User attributes = $it") },
205205
{ Log.e("AuthDemo", "Failed to fetch user attributes", it) }
206206
)
207207
```

0 commit comments

Comments
 (0)