fixed typo

This commit is contained in:
Barış Soner Uşaklı
2015-04-16 12:59:02 -04:00
parent 6e80dff188
commit edb856ba90

View File

@@ -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) {