From db8e81c573f6e81385780684d218f68e6ab1d00f Mon Sep 17 00:00:00 2001 From: Nikos Triantafyllou Date: Mon, 10 Jun 2024 21:51:55 +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 41f5ac6..c2d4327 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -854,7 +854,7 @@ function checkIfExistsIssuanceStatus( console.log(index); if (index < 0) { sessions.forEach((value, _index) => { - console.log("chaning value to " + value.replace(/-persona=\d+$/, "") +"-checking vs" + sessionId) + console.log("checking value to " + value.replace(/-persona=\s+$/, "") +"-checking vs" + sessionId) if (value.replace(/-persona=\d+$/, "") === sessionId) { console.log("updated index") index = _index;