From b72d12b650c3a4eef2b8b6161651daf792737867 Mon Sep 17 00:00:00 2001 From: Nikos Triantafyllou Date: Tue, 11 Jun 2024 21:56:07 +0300 Subject: [PATCH] typo --- routes/verifierRoutes.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/verifierRoutes.js b/routes/verifierRoutes.js index 812705c..2744e96 100644 --- a/routes/verifierRoutes.js +++ b/routes/verifierRoutes.js @@ -389,10 +389,9 @@ verifierRouter.get(["/verificationStatus"], (req, res) => { verifierRouter.get(["/verificationStatusHistory"], (req, res) => { let sessionId = req.query.sessionId; let index = sessionHistory.getCurrentArray().indexOf(sessionId); - if (index >= 0) { res.json({ - status: status, + status: "success", reason: "ok", sessionId: sessionId, claims: verificationResultsHistory.getCurrentArray()[index],