From a13e20bcd678a507385eca7afc2fc696ed022466 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:01:09 -0400 Subject: [PATCH] fix(user-account-screen): Pass the correct object for persisting. --- lib/components/user/user-account-screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/user/user-account-screen.js b/lib/components/user/user-account-screen.js index ab20fcf01..b99cbf794 100644 --- a/lib/components/user/user-account-screen.js +++ b/lib/components/user/user-account-screen.js @@ -54,7 +54,7 @@ class UserAccountScreen extends Component { ) { passedUserData.notificationChannel = notificationChannel.join(',') } - const result = await createOrUpdateUser(userData, intl) + const result = await createOrUpdateUser(passedUserData, intl) // If needed, display a toast notification on success. if (result === userActions.UserActionResult.SUCCESS && !silentOnSucceed) {