1 more tag change

v1.18.x
barisusakli 8 years ago
parent c98b6b7630
commit dd78f46980

@ -31,9 +31,7 @@ module.exports = function(SocketTopics) {
if (err) {
return callback(err);
}
tags = tags.filter(function(tag) {
return tag && tag.score > 0;
});
tags = tags.filter(Boolean);
callback(null, {tags: tags, nextStart: stop + 1});
});
};

Loading…
Cancel
Save