Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadyNagy committed Dec 20, 2024
1 parent d270c9b commit 0f006ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/DevBetterWeb.Web/Pages/Admin/Videos/Create.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@
method: 'POST',
body: JSON.stringify(uploadVideoStartRequest),
headers: {
'Content-Type': 'application/json'
'Content-Type': 'application/json',
'RequestVerificationToken': document.querySelector('input[name="__RequestVerificationToken"]').value
}
})
.then(response => {
Expand Down Expand Up @@ -268,7 +269,8 @@
method: 'POST',
body: JSON.stringify(body),
headers: {
'Content-Type': 'application/json'
'Content-Type': 'application/json',
'RequestVerificationToken': document.querySelector('input[name="__RequestVerificationToken"]').value
}
})
.then(response => {
Expand Down

0 comments on commit 0f006ca

Please sign in to comment.