fix: restore uid in teasers userObj

This commit is contained in:
Julian Lam
2019-06-26 12:00:22 -04:00
parent 77347d0a99
commit 67b8cb8977

View File

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