last one request with auth
This commit is contained in:
@@ -486,7 +486,7 @@
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Authorization': `Bearer ${localStorage.getItem('apiKey') || ''}`
|
'X-API-Key': `${localStorage.getItem('apiKey') || ''}`
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ query })
|
body: JSON.stringify({ query })
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user