last one request with auth

This commit is contained in:
soichisumi
2025-01-25 22:51:35 +09:00
parent 49a632a739
commit 763b32177d

View File

@@ -486,7 +486,7 @@
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${localStorage.getItem('apiKey') || ''}`
'X-API-Key': `${localStorage.getItem('apiKey') || ''}`
},
body: JSON.stringify({ query })
});