From cf9bebf53836997b7e914661f5e59db514eead8a Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 16 Jul 2018 09:50:59 +0300 Subject: [PATCH] fix identation --- lib/modules/webserver/server.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/modules/webserver/server.js b/lib/modules/webserver/server.js index 21ddeb65..e5ae3a51 100644 --- a/lib/modules/webserver/server.js +++ b/lib/modules/webserver/server.js @@ -77,13 +77,13 @@ class Server { }); }); - if (self.plugins) { - let apiCalls = self.plugins.getPluginsProperty("apiCalls", "apiCalls"); - for (let apiCall of apiCalls) { - console.dir("adding " + apiCall.method + " " + apiCall.endpoint); - app[apiCall.method].apply(app, [apiCall.endpoint, apiCall.cb]); - } - } + if (self.plugins) { + let apiCalls = self.plugins.getPluginsProperty("apiCalls", "apiCalls"); + for (let apiCall of apiCalls) { + console.dir("adding " + apiCall.method + " " + apiCall.endpoint); + app[apiCall.method].apply(app, [apiCall.endpoint, apiCall.cb]); + } + } this.app.ws('/', function(ws, _req) { self.events.on('outputDone', () => {