diff --git a/lib/core/plugin.js b/lib/core/plugin.js index 17ed9289..9ded42b4 100644 --- a/lib/core/plugin.js +++ b/lib/core/plugin.js @@ -226,7 +226,6 @@ Plugin.prototype.registerActionForEvent = function(eventName, cb) { }; Plugin.prototype.registerAPICall = function(method, endpoint, cb) { - console.dir("registerAPICall " + method + " " + endpoint); this.apiCalls.push({method, endpoint, cb}); this.addPluginType('apiCalls'); this.events.emit('plugins:register:api', {method, endpoint, cb}); diff --git a/lib/modules/webserver/server.js b/lib/modules/webserver/server.js index 1be158f4..2ec69af0 100644 --- a/lib/modules/webserver/server.js +++ b/lib/modules/webserver/server.js @@ -93,7 +93,6 @@ class Server { }); for (let apiCall of apiCalls) { - console.dir("adding " + apiCall.method + " " + apiCall.endpoint); this.app[apiCall.method].apply(this.app, [apiCall.endpoint, this.applyAPIFunction.bind(this, apiCall.cb)]); } } @@ -112,7 +111,6 @@ class Server { }); this.events.on('plugins:register:api', (apiCall) => { - console.dir("adding " + apiCall.method + " " + apiCall.endpoint); self.app[apiCall.method].apply(self.app, [apiCall.endpoint, this.applyAPIFunction.bind(this, apiCall.cb)]); });