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;
});
groupsData.forEach(Groups.escapeGroupData);
next(null, groupsData);
},
async.apply(Groups.sort, options.sort)
Groups.sort(options.sort, groupsData, next);
}
], callback);
};

Loading…
Cancel
Save