fix: restore uid in teasers userObj

v1.18.x
Julian Lam 6 years ago
parent 77347d0a99
commit 67b8cb8977

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

Loading…
Cancel
Save