diff --git a/lib/index.js b/lib/index.js index 8a26ada..1ef7a7a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -139,7 +139,7 @@ router.get('/apps/:appId/reviews', function (req, res, next) { const opts = Object.assign({ appId: req.params.appId, country: req.query.country, num: parseInt(req.query.num) || 100 }, req.query); const includeUserData = req.query.userdata === 'true'; - const includeReplies = req.query.replies == 'true'; + const includeReplies = req.query.replies === 'true'; const processReviews = (reviews, includeUserData, includeReplies) => { const sanitizeReplyText = (text, userName) => {