@ahi40/common
Advanced tools
Comparing version 1.0.36 to 1.0.37
@@ -45,3 +45,5 @@ "use strict"; | ||
return __generator(this, function (_a) { | ||
console.log('middle:' + role); | ||
if (req.currentUser) { | ||
console.log('curUSer:' + req.currentUser); | ||
if (req.currentUser.userRole === role) { | ||
@@ -48,0 +50,0 @@ next(); |
{ | ||
"name": "@ahi40/common", | ||
"version": "1.0.36", | ||
"version": "1.0.37", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
27231
600