diff options
-rw-r--r-- | webapp/actions/user_actions.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/actions/user_actions.jsx b/webapp/actions/user_actions.jsx index 15626db2b..0f5fb0731 100644 --- a/webapp/actions/user_actions.jsx +++ b/webapp/actions/user_actions.jsx @@ -338,9 +338,10 @@ export function autocompleteUsers(username, success, error) { ); } -export function updateUser(username, success, error) { +export function updateUser(username, type, success, error) { Client.updateUser( username, + type, (data) => { if (success) { success(data); |