@riocrypto/common 1.0.466 → 1.0.467

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.
@@ -166,6 +166,8 @@ const authorize = (req, res, next, mongoose, authorizationTypes) => __awaiter(vo
166
166
  (!req.currentAuth &&
167
167
  !authorizationTypes.includes(authorization_type_1.AuthorizationType.Auth) &&
168
168
  !req.user)) {
169
+ console.log("no auth");
170
+ console.log(req.currentAuth);
169
171
  if (req.currentAdminAuth &&
170
172
  authorizationTypes.includes(authorization_type_1.AuthorizationType.Admin)) {
171
173
  next();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.466",
3
+ "version": "1.0.467",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",