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; }