mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	check err
This commit is contained in:
		| @@ -195,6 +195,9 @@ apiController.getUserByUID = function(req, res, next) { | ||||
|  | ||||
| apiController.getModerators = function(req, res, next) { | ||||
| 	categories.getModerators(req.params.cid, function(err, moderators) { | ||||
| 		if (err) { | ||||
| 			return next(err); | ||||
| 		} | ||||
| 		res.json({moderators: moderators}); | ||||
| 	}); | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user