fix identation

This commit is contained in:
Iuri Matias 2018-07-16 09:50:59 +03:00
parent f6d4d088db
commit abf9e875ca

View File

@ -54,13 +54,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', () => {