mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
remove more parseInts
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user