mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: undefined call
This commit is contained in:
@@ -177,7 +177,7 @@ define('admin/manage/users', [
|
||||
}
|
||||
|
||||
Promise.all(uids.map(function (uid) {
|
||||
return api.delete('/users/' + uid + '/ban');
|
||||
return api.del('/users/' + uid + '/ban');
|
||||
})).then(() => {
|
||||
onSuccess('[[admin/manage/users:alerts.unban-success]]', '.ban', false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user