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 9dff962 commit db8e81c
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 @@ -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;
Expand Down

0 comments on commit db8e81c

Please sign in to comment.