@azteam/express 1.2.222 → 1.2.223

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.222",
3
+ "version": "1.2.223",
4
4
  "main": "src/index.js",
5
5
  "engines": {
6
6
  "node": ">= 12.0.0",
@@ -199,7 +199,7 @@ class AdminController extends Controller {
199
199
  const item = await this.repository.findOneById(req.params.id);
200
200
  if (!item) return res.error(NOT_EXISTS);
201
201
 
202
- await item.modifyStatusUnavailable(req.user.id);
202
+ await item.modifyStatusUnavailable(req.body.message, req.user.id);
203
203
 
204
204
  return res.success(item, this.guardResponse, this.allowResponse);
205
205
  },