express-ext 0.1.33 → 0.1.34

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.
package/lib/index.js CHANGED
@@ -123,7 +123,7 @@ var SavedController = (function () {
123
123
  return;
124
124
  }
125
125
  this.service.load(id).then(function (data) {
126
- res.status(200).json(data).send();
126
+ res.status(200).json(data).end();
127
127
  })
128
128
  .catch(function (err) { return http_1.handleError(err, res, _this.log); });
129
129
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-ext",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "express-ext",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./src/index.ts",
package/src/index.ts CHANGED
@@ -132,7 +132,7 @@ export class SavedController<T> {
132
132
  return;
133
133
  }
134
134
  this.service.load(id).then(data => {
135
- res.status(200).json(data).send();
135
+ res.status(200).json(data).end();
136
136
  })
137
137
  .catch(err => handleError(err, res, this.log));
138
138
  }