mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	chore: whopps
This commit is contained in:
		| @@ -22,7 +22,6 @@ const upload_url = nconf.get('upload_url'); | |||||||
|  |  | ||||||
| topicsController.get = async function getTopic(req, res, next) { | topicsController.get = async function getTopic(req, res, next) { | ||||||
| 	const tid = req.params.topic_id; | 	const tid = req.params.topic_id; | ||||||
| 	throw new Error('db connection not found'); |  | ||||||
| 	if ( | 	if ( | ||||||
| 		(req.params.post_index && !utils.isNumber(req.params.post_index) && req.params.post_index !== 'unread') || | 		(req.params.post_index && !utils.isNumber(req.params.post_index) && req.params.post_index !== 'unread') || | ||||||
| 		!utils.isNumber(tid) | 		!utils.isNumber(tid) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user