fix rebase issues

This commit is contained in:
Iuri Matias 2018-07-12 16:02:16 +03:00
parent 1fed495076
commit 159827bc6c
1 changed files with 5 additions and 6 deletions

View File

@ -46,12 +46,11 @@ class Server {
expressWebSocket(app);
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]);
}
let apiCalls = self.plugins.getPluginsProperty("apiCalls", "apiCalls");
console.dir(apiCalls);
for (let apiCall of apiCalls) {
console.dir("adding " + apiCall.method + " " + apiCall.endpoint);
app[apiCall.method].apply(app, [apiCall.endpoint, apiCall.cb]);
}
if (this.enableCatchAll === true) {