@riocrypto/common-server 1.0.1256 → 1.0.1257

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.
@@ -153,8 +153,9 @@ const authorize = (req, res, next, mongoose, authorizationTypes) => __awaiter(vo
153
153
  next();
154
154
  return;
155
155
  }
156
- if (authorizationTypes.includes(common_1.AuthorizationType.User) ||
157
- (authorizationTypes.includes(common_1.AuthorizationType.UserNoKYC) && req.user)) {
156
+ if ((authorizationTypes.includes(common_1.AuthorizationType.User) ||
157
+ authorizationTypes.includes(common_1.AuthorizationType.UserNoKYC)) &&
158
+ req.user) {
158
159
  next();
159
160
  return;
160
161
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1256",
3
+ "version": "1.0.1257",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",