Finished testing api key
This commit is contained in:
@@ -15,7 +15,6 @@ const showToast = (message, duration = 3000) => {
|
||||
};
|
||||
|
||||
const fetchWithAuth = async (url, options = {}) => {
|
||||
console.log(`Calling server with api key : ${state.apiKey}`)
|
||||
const headers = {
|
||||
...(options.headers || {}),
|
||||
...(state.apiKey ? { 'X-API-Key': state.apiKey } : {}) // Use X-API-Key instead of Bearer
|
||||
|
Reference in New Issue
Block a user