@azteam/express 1.2.142 → 1.2.145

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.142",
3
+ "version": "1.2.145",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "repository": {
@@ -39,7 +39,7 @@
39
39
  "jsonwebtoken": "8.2.1",
40
40
  "method-override": "3.0.0",
41
41
  "morgan": "1.10.0",
42
- "socket.io": "3.0.5",
42
+ "socket.io": "4.4.1",
43
43
  "socket.io-redis": "6.1.0"
44
44
  }
45
45
  }
@@ -59,7 +59,7 @@ class AdminController extends Controller {
59
59
  };
60
60
  };
61
61
 
62
- getOnePubic() {
62
+ getOnePublic() {
63
63
  return {
64
64
  path: '/:id',
65
65
  method: [
@@ -160,7 +160,7 @@ class AdminController extends Controller {
160
160
 
161
161
  postRestoreTrash() {
162
162
  return {
163
- path: '/trash/:id',
163
+ path: '/:id',
164
164
  method: [
165
165
  roleMiddleware([this.options.roles.RESTORE], USER_LEVEL.ADMIN),
166
166
  validateMiddleware(REQUEST_TYPE.PARAMS, rulesID),
@@ -177,7 +177,7 @@ class AdminController extends Controller {
177
177
 
178
178
  deleteDestroyTrash() {
179
179
  return {
180
- path: '/trash/:id',
180
+ path: '/:id',
181
181
  method: [
182
182
  roleMiddleware([this.options.roles.DESTROY], USER_LEVEL.ADMIN),
183
183
  validateMiddleware(REQUEST_TYPE.PARAMS, rulesID),