mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	ESlint object-curly-spacing
This commit is contained in:
		| @@ -36,15 +36,15 @@ module.exports = function (middleware) { | ||||
| 				function (next) { | ||||
| 					options.loggedIn = !!req.uid; | ||||
| 					options.relative_path = nconf.get('relative_path'); | ||||
| 					options.template = {name: template}; | ||||
| 					options.template = { name: template }; | ||||
| 					options.template[template] = true; | ||||
| 					options.url = (req.baseUrl + req.path).replace(/^\/api/, ''); | ||||
| 					options.bodyClass = buildBodyClass(req); | ||||
|  | ||||
| 					plugins.fireHook('filter:' + template + '.build', {req: req, res: res, templateData: options}, next); | ||||
| 					plugins.fireHook('filter:' + template + '.build', { req: req, res: res, templateData: options }, next); | ||||
| 				}, | ||||
| 				function (data, next) { | ||||
| 					plugins.fireHook('filter:middleware.render', {req: res, res: res, templateData: data.templateData}, next); | ||||
| 					plugins.fireHook('filter:middleware.render', { req: res, res: res, templateData: data.templateData }, next); | ||||
| 				}, | ||||
| 				function (data, next) { | ||||
| 					options = data.templateData; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user