PLT-5134 removing the async sending from update user (#5078)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
59d2d34279
Коммит
441fe5334e
@@ -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');
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Ссылка в новой задаче
Block a user