mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	fix: use system pseudo-user for topic move call
This commit is contained in:
		| @@ -66,7 +66,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => { | ||||
|  | ||||
| 		if (options.cid && cid === -1) { | ||||
| 			// Move topic | ||||
| 			await topics.tools.move(tid, { cid: options.cid, uid: 0 }); | ||||
| 			await topics.tools.move(tid, { cid: options.cid, uid: 'system' }); | ||||
| 		} | ||||
| 	} else { | ||||
| 		// mainPid ok to leave as-is | ||||
|   | ||||
		Reference in New Issue
	
	Block a user