mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	feat: pass req.session into buildReqObject
This commit is contained in:
		| @@ -27,6 +27,7 @@ exports.buildReqObject = (req, payload) => { | |||||||
| 		params: req.params, | 		params: req.params, | ||||||
| 		method: req.method, | 		method: req.method, | ||||||
| 		body: payload || req.body, | 		body: payload || req.body, | ||||||
|  | 		session: req.session, | ||||||
| 		ip: req.ip, | 		ip: req.ip, | ||||||
| 		host: host, | 		host: host, | ||||||
| 		protocol: encrypted ? 'https' : 'http', | 		protocol: encrypted ? 'https' : 'http', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user