fixed typo

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 6e80dff188
commit edb856ba90

@ -65,7 +65,7 @@ module.exports = function(Topics) {
return next(err);
}
postData = postData.filter(function(post) {
return post && parseInt(post.deleted, 10) !== -1;
return post && parseInt(post.deleted, 10) !== 1;
});
var pidsToAdd = [], scores = [];
postData.forEach(function(post) {

Loading…
Cancel
Save