fix: undefined call

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 0d80190f79
commit 518d4fa170

@ -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);
});

Loading…
Cancel
Save