From ec8f48efdac5eaeff59ad4c52cfbb4a03a9a0cda Mon Sep 17 00:00:00 2001 From: bitbucket Date: Fri, 28 Jun 2024 15:27:34 +0530 Subject: [PATCH] GWM --- app/controllers/jwt_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/jwt_controller.js b/app/controllers/jwt_controller.js index 676004e..6bce8df 100644 --- a/app/controllers/jwt_controller.js +++ b/app/controllers/jwt_controller.js @@ -61,7 +61,7 @@ module.exports.addMacValue= async(req, res, next)=>{ today = moment().format('YYYY/MM/DD'); formatedDate = mac.expiry_date; - if(formatedDate < today){ + if(formatedDate > today){ const info={ mac_id: mac_id,