add fix
This commit is contained in:
parent
9a99f3e3ae
commit
49a632a739
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@
|
|||
const response = await fetch('/documents/upload', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Authorization': `Bearer ${localStorage.getItem('apiKey') || ''}`
|
||||
'X-API-Key': `${localStorage.getItem('apiKey') || ''}`
|
||||
},
|
||||
body: formData
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue