@azteam/express 1.2.132 → 1.2.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/ApiServer.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/express",
3
- "version": "1.2.132",
3
+ "version": "1.2.133",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "repository": {
package/src/ApiServer.js CHANGED
@@ -117,7 +117,7 @@ class ApiServer {
117
117
  }
118
118
 
119
119
 
120
- startPort(port) {
120
+ startAPI(port) {
121
121
  if (!_.isEmpty(this.controllers)) {
122
122
 
123
123
  const WHITE_LIST = this.whiteList;
@@ -343,7 +343,7 @@ class ApiServer {
343
343
  } else {
344
344
  throw Error('No controllers in use');
345
345
  }
346
- return null;
346
+ return this;
347
347
  }
348
348
 
349
349
  setAlertCallback(callback) {