Skip to content

Commit

Permalink
fix for sessionIds that dont have persona attached
Browse files Browse the repository at this point in the history
  • Loading branch information
endimion committed Jun 10, 2024
1 parent db8e81c commit 26ff9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 26ff9b1

Please sign in to comment.