Skip to content

Commit

Permalink
Merge pull request #1026 from opentripplanner/fix-saving-notification…
Browse files Browse the repository at this point in the history
…-channel

fix(user-account-screen): Pass the correct object for persisting.
  • Loading branch information
miles-grant-ibigroup authored Oct 9, 2023
2 parents 0896680 + a13e20b commit f27e945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/user/user-account-screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f27e945

Please sign in to comment.