From edb856ba90fa5929419483ab0fc8a2473c5238c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 16 Apr 2015 12:59:02 -0400 Subject: [PATCH] fixed typo --- src/topics/delete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics/delete.js b/src/topics/delete.js index 71bf9ca1f0..47cb384214 100644 --- a/src/topics/delete.js +++ b/src/topics/delete.js @@ -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) {