@azteam/express 1.2.238 → 1.2.239

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.238",
3
+ "version": "1.2.239",
4
4
  "main": "src/index.js",
5
5
  "engines": {
6
6
  "node": ">= 12.0.0",
@@ -220,7 +220,7 @@ class AdminController extends Controller {
220
220
  const item = await this.repository.findOneById(req.params.id);
221
221
  if (!item) return res.error(NOT_EXISTS);
222
222
 
223
- await item.modifyStatusWaiting(req.body.message, req.user.id);
223
+ await item.modifyStatusWaiting(req.user.id);
224
224
 
225
225
  return res.success(item, this.guardResponse, this.allowResponse);
226
226
  },