Commit 98954bbd authored by 陈家荣's avatar 陈家荣

update

parent fb699211
...@@ -822,6 +822,7 @@ router.get('/info/list/allWithThreadCount', function(req, res, next) { ...@@ -822,6 +822,7 @@ router.get('/info/list/allWithThreadCount', function(req, res, next) {
if (infos[i].toObject) { if (infos[i].toObject) {
infos[i] = infos[i].toObject(); infos[i] = infos[i].toObject();
} }
infos[i].favor_by = infos[i].favor_by.length;
infos[i].threadCount = count; infos[i].threadCount = count;
cont(null, info); cont(null, info);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment