mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
tweak
This commit is contained in:
@@ -24,11 +24,9 @@ var nconf = require('nconf'),
|
||||
if (plugins.hasListeners(hook)) {
|
||||
// Hook executes
|
||||
plugins.fireHook(hook, req.body.args);
|
||||
res.send(200);
|
||||
} else {
|
||||
// No listeners for this hook
|
||||
res.send(404);
|
||||
}
|
||||
|
||||
res.send(200);
|
||||
});
|
||||
|
||||
// Static Assets
|
||||
|
||||
Reference in New Issue
Block a user