mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-11 01:52:55 +01:00
@@ -43,7 +43,7 @@ module.exports = function (Topics) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const [allPostData, callerSettings] = await Promise.all([
|
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),
|
user.getSettings(uid),
|
||||||
]);
|
]);
|
||||||
let postData = allPostData.filter(post => post && post.pid);
|
let postData = allPostData.filter(post => post && post.pid);
|
||||||
|
|||||||
Reference in New Issue
Block a user