TypeError: apiOBJ[api] is not a function
   at goAPI (/root/ECS.js:373:20)
   at /root/ECS.js:213:19
   at /root/ECS.js:215:7
   at Layer.handle [as handle_request] (/root/node_modules/express/lib/router/layer.js:95:5)
   at trim_prefix (/root/node_modules/express/lib/router/index.js:328:13)
   at /root/node_modules/express/lib/router/index.js:286:9
   at Function.process_params (/root/node_modules/express/lib/router/index.js:346:12)
   at next (/root/node_modules/express/lib/router/index.js:280:10)
   at expressInit (/root/node_modules/express/lib/middleware/init.js:40:5)
   at Layer.handle [as handle_request] (/root/node_modules/express/lib/router/layer.js:95:5)