request_builder.js: Fix syntax error
This commit is contained in:
parent
938ae6828c
commit
a904c634b8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue