Skip to content

Commit

Permalink
request_builder.js: Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Epicpkmn11 authored and fguillot committed Jun 6, 2022
1 parent 938ae68 commit a904c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/static/js/request_builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class RequestBuilder {
}

getCsrfToken() {
let element = document.querySelector("body[data-csrf-token");
let element = document.querySelector("body[data-csrf-token]");
if (element !== null) {
return element.dataset.csrfToken;
}
Expand Down

0 comments on commit a904c63

Please sign in to comment.