@colearn/microservices-kit
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -7,3 +7,3 @@ "use strict"; | ||
var _a, _b; | ||
return (_b = (_a = user === null || user === void 0 ? void 0 : user.scopes) === null || _a === void 0 ? void 0 : _a.includes('system:admin')) !== null && _b !== void 0 ? _b : false; | ||
return (_b = (_a = user === null || user === void 0 ? void 0 : user.scopes) === null || _a === void 0 ? void 0 : _a.includes('role:admin')) !== null && _b !== void 0 ? _b : false; | ||
} | ||
@@ -10,0 +10,0 @@ exports.isAdmin = isAdmin; |
{ | ||
"name": "@colearn/microservices-kit", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "colearn microservice kit", | ||
@@ -5,0 +5,0 @@ "author": "Colearn", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33841