mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 18:56:15 +01:00
feat: #7032
This commit is contained in:
@@ -158,9 +158,7 @@ events.deleteEvents = function (eids, callback) {
|
||||
var keys;
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
keys = eids.map(function (eid) {
|
||||
return 'event:' + eid;
|
||||
});
|
||||
keys = eids.map(eid => 'event:' + eid);
|
||||
db.getObjectsFields(keys, ['type'], next);
|
||||
},
|
||||
function (eventData, next) {
|
||||
|
||||
Reference in New Issue
Block a user