Procs are in GET /

This commit is contained in:
Zbynek Rybicka
2018-10-23 19:45:51 +02:00
committed by Jeremy Nagel
parent bfb9440ac6
commit ba7edff654
2 changed files with 8 additions and 1 deletions

2
.gitignore vendored
View File

@@ -75,3 +75,5 @@ mongod
*.ntvs*
*.njsproj
*.sln
.history

View File

@@ -748,7 +748,12 @@ class Xsql {
}
}
tableObj["routes"] = routes;
var procList = this.getProcList()
for (var j = 0; j < procList.length; j++) {
routes.push(this.prepareRoute(internal, 'post', apiPrefix, '_proc/' + procList[j]))
}
tableObj['routes'] = routes;
schemaRoutes.push(tableObj);
}