mirror of
https://github.com/mattermost/mattermost.git
synced 2026-08-27 05:37:15 -05:00
Fixing errors on user updates (#4962)
This commit is contained in:
committed by
Harrison Healey
parent
638cc761d0
commit
45585e6c2a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user