@riocrypto/common 1.0.469 → 1.0.470

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.
@@ -163,7 +163,10 @@ const authorize = (req, res, next, mongoose, authorizationTypes) => __awaiter(vo
163
163
  req.user = user;
164
164
  }
165
165
  }
166
- console.log(req);
166
+ console.log(req.currentAdminAuth);
167
+ console.log(req.currentAuth);
168
+ console.log(req.user);
169
+ console.log(req.partner);
167
170
  if (
168
171
  // if no auth
169
172
  (!req.currentAdminAuth && !req.currentAuth && !req.user && !req.partner) ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.469",
3
+ "version": "1.0.470",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",