removed async.apply

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 503d83998b
commit 9a03671ad2

@ -26,9 +26,8 @@ module.exports = function(Groups) {
return group && !group.hidden; return group && !group.hidden;
}); });
groupsData.forEach(Groups.escapeGroupData); groupsData.forEach(Groups.escapeGroupData);
next(null, groupsData); Groups.sort(options.sort, groupsData, next);
}, }
async.apply(Groups.sort, options.sort)
], callback); ], callback);
}; };

Loading…
Cancel
Save