remove more parseInts

This commit is contained in:
Barış Soner Uşaklı
2018-10-23 21:36:18 -04:00
parent 537b7ff7e8
commit 728e7bdae9
2 changed files with 3 additions and 8 deletions

View File

@@ -188,11 +188,6 @@ function ignoreOrWatch(fn, socket, cid, callback) {
categories.getCategoriesFields(cids, ['cid', 'parentCid'], next);
},
function (categoryData, next) {
categoryData.forEach(function (c) {
c.cid = parseInt(c.cid, 10);
c.parentCid = parseInt(c.parentCid, 10);
});
// filter to subcategories of cid
var cat;
do {