@azteam/express 1.2.123 → 1.2.124

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/express",
3
- "version": "1.2.123",
3
+ "version": "1.2.124",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "repository": {
@@ -132,7 +132,7 @@ class AdminController extends Controller {
132
132
 
133
133
  const data = await this.beforeModify(req.body, req.user);
134
134
 
135
- item = await this.repository.modifyByUser(req.user.id, item, rdata);
135
+ item = await this.repository.modifyByUser(req.user.id, item, data);
136
136
 
137
137
  return res.success(item, this.options.guardResponse, this.options.allowResponse);
138
138
  }