mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
fix: socket user bans
This commit is contained in:
@@ -87,7 +87,6 @@ usersAPI.delete = async function (caller, data) {
|
||||
};
|
||||
|
||||
usersAPI.deleteMany = async function (caller, data) {
|
||||
console.log(data.uids);
|
||||
if (await canDeleteUids(data.uids)) {
|
||||
await Promise.all(data.uids.map(uid => processDeletion(uid, caller)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user