diff options
Diffstat (limited to 'public/js/modules/new.js')
-rw-r--r-- | public/js/modules/new.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/public/js/modules/new.js b/public/js/modules/new.js index 2d880f8..a018087 100644 --- a/public/js/modules/new.js +++ b/public/js/modules/new.js @@ -119,6 +119,10 @@ function newEventForm() { "imageUpload", this.$refs.eventImageUpload.files[0], ); + formData.append( + "magicLinkToken", + this.$refs.magicLinkToken.value, + ); try { const response = await fetch("/event", { method: "POST", @@ -170,6 +174,10 @@ function newEventGroupForm() { "imageUpload", this.$refs.eventGroupImageUpload.files[0], ); + formData.append( + "magicLinkToken", + this.$refs.magicLinkToken.value, + ); try { const response = await fetch("/group", { method: "POST", @@ -218,6 +226,10 @@ function importEventForm() { "icsImportControl", this.$refs.icsImportControl.files[0], ); + formData.append( + "magicLinkToken", + this.$refs.magicLinkToken.value, + ); try { const response = await fetch("/import/event", { method: "POST", |