fix: #14072, world to call thumbs with thumbsOnly filter

This commit is contained in:
Julian Lam
2026-03-09 13:00:15 -04:00
parent 54684be2ea
commit f19761682a

View File

@@ -86,7 +86,7 @@ controller.list = async function (req, res) {
posts.hasBookmarked(mainPids, req.uid),
]);
const thumbs = await topics.thumbs.load(topicData);
const thumbs = await topics.thumbs.load(topicData, { thumbsOnly: 1 });
const tidToThumbs = _.zipObject(uniqTids, thumbs);
const teasers = await topics.getTeasers(postData.map(p => p.topic), { uid: req.uid });
postData.forEach((p, index) => {