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

Add bearer token to request (VPU/Middleware/API#40)

parent 4bd43449
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,9 @@ class VPUFileUpload extends VPULitElement {
fetch(url, {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + window.VPUAuthToken,
},
body: formData
})
.then((response) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment