fix identation
This commit is contained in:
parent
50740211da
commit
cf9bebf538
|
@ -77,13 +77,13 @@ class Server {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
if (self.plugins) {
|
if (self.plugins) {
|
||||||
let apiCalls = self.plugins.getPluginsProperty("apiCalls", "apiCalls");
|
let apiCalls = self.plugins.getPluginsProperty("apiCalls", "apiCalls");
|
||||||
for (let apiCall of apiCalls) {
|
for (let apiCall of apiCalls) {
|
||||||
console.dir("adding " + apiCall.method + " " + apiCall.endpoint);
|
console.dir("adding " + apiCall.method + " " + apiCall.endpoint);
|
||||||
app[apiCall.method].apply(app, [apiCall.endpoint, apiCall.cb]);
|
app[apiCall.method].apply(app, [apiCall.endpoint, apiCall.cb]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.app.ws('/', function(ws, _req) {
|
this.app.ws('/', function(ws, _req) {
|
||||||
self.events.on('outputDone', () => {
|
self.events.on('outputDone', () => {
|
||||||
|
|
Loading…
Reference in New Issue