@ -111,7 +111,7 @@
"object-property-newline": "off",
"no-continue": "off",
"no-extra-semi": "off",
"no-spaced-func": "off",
// "no-spaced-func": "off",
// "no-useless-return": "off"
}
@ -247,4 +247,4 @@
db.close();
};
} (exports));
}(exports));
@ -168,5 +168,5 @@
module.helpers = module.helpers || {};
module.helpers.redis = require('./redis/helpers');
@ -72,7 +72,7 @@ module.exports = function (Posts) {
return callback(err);
callback (null, {upvoted: hasVoted[0], downvoted: hasVoted[1]});
callback(null, {upvoted: hasVoted[0], downvoted: hasVoted[1]});
});