mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +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) { | Notes.syncUserInboxes = async function (tid) { | ||||||
| 	const [pids, { cid, mainPid }] = await Promise.all([ | 	const [pids, { cid, mainPid }] = await Promise.all([ | ||||||
| 		db.getSortedSetMembers(`tid:${tid}:posts`), | 		db.getSortedSetMembers(`tid:${tid}:posts`), | ||||||
| 		topics.getTopicFields(tid, ['cid', 'mainPid']), | 		topics.getTopicFields(tid, ['tid', 'cid', 'mainPid']), | ||||||
| 	]); | 	]); | ||||||
| 	pids.unshift(mainPid); | 	pids.unshift(mainPid); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user