mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	refactor: move plugin hook methods to plugin.hooks.*
This commit is contained in:
		| @@ -15,7 +15,7 @@ exports.get = async function (req, res, callback) { | ||||
| 		content: 'noindex', | ||||
| 	}; | ||||
|  | ||||
| 	const data = await plugins.fireHook('filter:composer.build', { | ||||
| 	const data = await plugins.hooks.fire('filter:composer.build', { | ||||
| 		req: req, | ||||
| 		res: res, | ||||
| 		next: callback, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user