mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-30 18:46:01 +01:00 
			
		
		
		
	fix: bad uid reference
This commit is contained in:
		| @@ -77,6 +77,7 @@ module.exports = function (Topics) { | ||||
|  | ||||
| 	Topics.post = async function (data) { | ||||
| 		data = await plugins.hooks.fire('filter:topic.post', data); | ||||
| 		const { uid } = data; | ||||
|  | ||||
| 		data.title = String(data.title).trim(); | ||||
| 		data.tags = data.tags || []; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user