mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 23:52:58 +01:00
@@ -43,7 +43,7 @@ module.exports = function (Topics) {
|
||||
});
|
||||
|
||||
const [allPostData, callerSettings] = await Promise.all([
|
||||
posts.getPostsFields(teaserPids, ['pid', 'uid', 'timestamp', 'tid', 'content']),
|
||||
posts.getPostsFields(teaserPids, ['pid', 'uid', 'timestamp', 'tid', 'content', 'sourceContent']),
|
||||
user.getSettings(uid),
|
||||
]);
|
||||
let postData = allPostData.filter(post => post && post.pid);
|
||||
|
||||
Reference in New Issue
Block a user