Skip to content

Commit

Permalink
chore: proper regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Jumas committed Jul 17, 2024
1 parent 7d4a57f commit bba550f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/webapp/pdf-exporter/js/pdf-exporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function ExportContext() {
}

ExportContext.prototype.getProjectId = function() {
const foundValues = /"project\/(.*)\/"/.exec(this.scope);
const foundValues = /project\/(.*)\//.exec(this.scope);
return foundValues !== null ? foundValues[1] : null;
}

Expand Down

0 comments on commit bba550f

Please sign in to comment.