mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 23:29:51 +08:00
Sending correct parameters
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user