remove duplicates

v1.18.x
barisusakli 11 years ago
parent dbf07f786d
commit 7585b72644

@ -180,6 +180,10 @@ module.exports = function(db, module) {
return item.value;
});
data = data.filter(function(value, index, array) {
return array.indexOf(value) === index;
});
callback(null, data);
});
}

Loading…
Cancel
Save