Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-nds committed Apr 14, 2024
1 parent 806498d commit 469306e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions views/bootstrap-5/logs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
method: 'DELETE',
headers: {
"X-Requested-With": "XMLHttpRequest",
"X-CSRF-TOKEN": deleteLogForm.currentTarget.querySelector("input[name='_token']").value,
'Content-type': 'application/json'
},
body: JSON.stringify({
Expand Down
1 change: 1 addition & 0 deletions views/bootstrap-5/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
method: 'DELETE',
headers: {
"X-Requested-With": "XMLHttpRequest",
"X-CSRF-TOKEN": deleteLogForm.currentTarget.querySelector("input[name='_token']").value,
'Content-type': 'application/json'
},
body: JSON.stringify({
Expand Down

0 comments on commit 469306e

Please sign in to comment.