last one request with auth
This commit is contained in:
parent
49a632a739
commit
763b32177d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 })
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue