Skip to content
Snippets Groups Projects
Commit 4bd43449 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Change file attribute name (VPU/Middleware/API#40)

parent 1ec3ff57
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ class VPUFileUpload extends VPULitElement { ...@@ -108,7 +108,7 @@ class VPUFileUpload extends VPULitElement {
let url = this.url; let url = this.url;
let formData = new FormData(); let formData = new FormData();
formData.append('my_file', file); formData.append('file', file);
fetch(url, { fetch(url, {
method: 'POST', method: 'POST',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment