diff --git a/src/routes/plugins.js b/src/routes/plugins.js index 8e18f28cf1..6fe7b2c7a6 100644 --- a/src/routes/plugins.js +++ b/src/routes/plugins.js @@ -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