From b2f37733e877d178a7585e0675f80aee1a5faef1 Mon Sep 17 00:00:00 2001 From: okbel Date: Wed, 2 May 2018 13:39:08 -0300 Subject: [PATCH] Sending correct parameters --- .../client/profile-settings/components/Profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/talk-plugin-auth/client/profile-settings/components/Profile.js b/plugins/talk-plugin-auth/client/profile-settings/components/Profile.js index c40494506..3d8f10698 100644 --- a/plugins/talk-plugin-auth/client/profile-settings/components/Profile.js +++ b/plugins/talk-plugin-auth/client/profile-settings/components/Profile.js @@ -124,7 +124,7 @@ class Profile extends React.Component { const { changeUsername } = this.props; try { - await changeUsername(newUsername); + await changeUsername(this.props.root.me.id, newUsername); this.props.notify( 'success', t('talk-plugin-auth.change_username.changed_username_success_msg')