diff --git a/lightrag/api/static/js/api.js b/lightrag/api/static/js/api.js index 551d29ac..5a331d98 100644 --- a/lightrag/api/static/js/api.js +++ b/lightrag/api/static/js/api.js @@ -15,7 +15,7 @@ const showToast = (message, duration = 3000) => { }; const fetchWithAuth = async (url, options = {}) => { - console.log(`Calling server with api key : ${}`) + 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