fix identation

This commit is contained in:
Iuri Matias 2018-07-16 09:50:59 +03:00 committed by Pascal Precht
parent 50740211da
commit cf9bebf538
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 7 additions and 7 deletions

View File

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