ESlint radix

This commit is contained in:
Peter Jaszkowiak
2017-02-18 14:29:52 -07:00
parent 09e868ce5f
commit 57f89663aa
11 changed files with 12 additions and 12 deletions

View File

@@ -130,7 +130,7 @@ module.exports = function (Categories) {
results.teasers.forEach(function (teaser, index) {
if (teaser) {
teaser.cid = topicData[index].cid;
teaser.parentCid = parseInt(parentCids[teaser.cid]) || 0;
teaser.parentCid = parseInt(parentCids[teaser.cid], 10) || 0;
teaser.tid = teaser.uid = teaser.user.uid = undefined;
teaser.topic = {
slug: topicData[index].slug,