Browse Source

Procs are in GET /

pull/122/head
Zbynek Rybicka 6 years ago committed by Jeremy Nagel
parent
commit
ba7edff654
  1. 2
      .gitignore
  2. 7
      lib/xsql.js

2
.gitignore vendored

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

7
lib/xsql.js

@ -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); schemaRoutes.push(tableObj);
} }

Loading…
Cancel
Save