mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: mainPid accidental int
This commit is contained in:
@@ -221,7 +221,7 @@ Notes.updateTopicCounts = async function (tid) {
|
||||
Notes.syncUserInboxes = async function (tid) {
|
||||
const [pids, { cid, mainPid }] = await Promise.all([
|
||||
db.getSortedSetMembers(`tid:${tid}:posts`),
|
||||
topics.getTopicFields(tid, ['cid', 'mainPid']),
|
||||
topics.getTopicFields(tid, ['tid', 'cid', 'mainPid']),
|
||||
]);
|
||||
pids.unshift(mainPid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user