This commit is contained in:
soichisumi
2025-01-25 22:51:06 +09:00
parent 9a99f3e3ae
commit 49a632a739

View File

@@ -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
});