@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 +1 -1
- package/src/AdminController.js +1 -1
package/package.json
CHANGED
package/src/AdminController.js
CHANGED
|
@@ -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.
|
|
223
|
+
await item.modifyStatusWaiting(req.user.id);
|
|
224
224
|
|
|
225
225
|
return res.success(item, this.guardResponse, this.allowResponse);
|
|
226
226
|
},
|