From 7ef67bfb0a01506fa130f568ee3a5b8eed46658a Mon Sep 17 00:00:00 2001 From: varun Date: Fri, 24 Feb 2023 02:12:36 -0500 Subject: [PATCH] token expiry changed 301 --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 5f1b5b4f..1f502c2d 100644 --- a/src/index.js +++ b/src/index.js @@ -203,7 +203,7 @@ fastify.post("/api/login", { //expiresIn: expressed in seconds or a string describing a time span zeit/ms. Eg: 60, "2 days", "10h", "7d". //A numeric value is interpreted as a seconds count. If you use a string be sure you provide the time units (days, hours, etc), //otherwise milliseconds unit is used by default ("120" is equal to "120ms"). - { expiresIn: "301" } + { expiresIn: "302" } ); var arr = loginObject.user.profile.role; var arrayToString = JSON.stringify(Object.assign({}, arr)); // convert array to string