Skip to content

Commit

Permalink
PLT-5134 removing the async sending from update user (mattermost#5078)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyhulen authored and grundleborg committed Jan 16, 2017
1 parent bc23e79 commit 7f5cf30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/user_actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,10 @@ export function updateUser(username, type, success, error) {
}
},
(err) => {
AsyncClient.dispatchError(err, 'updateUser');

if (error) {
error(err);
} else {
AsyncClient.dispatchError(err, 'updateUser');
}
}
);
Expand Down

0 comments on commit 7f5cf30

Please sign in to comment.