From 907f5ebdaa8a70780db95e3efcefd0b20f167b51 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 13 Mar 2018 06:23:12 -0400 Subject: [PATCH] add api registration to plugin --- lib/core/plugin.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/core/plugin.js b/lib/core/plugin.js index 86edefd6..bc1561bf 100644 --- a/lib/core/plugin.js +++ b/lib/core/plugin.js @@ -206,7 +206,6 @@ Plugin.prototype.registerActionForEvent = function(eventName, cb) { }; Plugin.prototype.registerAPICall = function(method, endpoint, cb) { - console.dir("registerAPICall " + method + " " + endpoint); this.apiCalls.push({method: method, endpoint: endpoint, cb: cb}); this.pluginTypes.push('apiCalls'); };