@ccci/micro-server 1.0.122 → 1.0.123
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.
- package/dist/index.js +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -245429,7 +245429,6 @@ function generate(payload) {
|
|
|
245429
245429
|
return import_jsonwebtoken.default.sign(payload, SECRET_KEY, { expiresIn: EXPIRY, issuer: ISSUER });
|
|
245430
245430
|
}
|
|
245431
245431
|
function verify(token) {
|
|
245432
|
-
console.log("process.env.JWT_SECRET_KEY :>> ", process.env.JWT_SECRET_KEY);
|
|
245433
245432
|
let decoded = import_jsonwebtoken.default.verify(token, SECRET_KEY);
|
|
245434
245433
|
return decoded;
|
|
245435
245434
|
}
|