@ahi40/common
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -9,2 +9,6 @@ "use strict"; | ||
} | ||
console.log('expires'); | ||
console.log(req.currentUser.exp); | ||
console.log(Date.now().valueOf() / 1000); | ||
console.log(req.currentUser.exp < Date.now().valueOf() / 1000); | ||
if (req.currentUser.exp < Date.now().valueOf() / 1000) { | ||
@@ -11,0 +15,0 @@ throw new not_authorized_error_1.NotAuthorizedError(); |
{ | ||
"name": "@ahi40/common", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
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
21347
478