mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-06 12:23:26 +00:00
fix identation
This commit is contained in:
parent
f6d4d088db
commit
abf9e875ca
@ -54,13 +54,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…
x
Reference in New Issue
Block a user