From 26ff9b1ba900e6678a8fe8f984149b1e52280e55 Mon Sep 17 00:00:00 2001 From: Nikos Triantafyllou Date: Mon, 10 Jun 2024 21:52:12 +0300 Subject: [PATCH] fix for sessionIds that dont have persona attached --- routes/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/routes.js b/routes/routes.js index c2d4327..a21f2b8 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -855,7 +855,7 @@ function checkIfExistsIssuanceStatus( if (index < 0) { sessions.forEach((value, _index) => { console.log("checking value to " + value.replace(/-persona=\s+$/, "") +"-checking vs" + sessionId) - if (value.replace(/-persona=\d+$/, "") === sessionId) { + if (value.replace(/-persona=\s+$/, "") === sessionId) { console.log("updated index") index = _index; }