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