From d2a550fd310b99d24b25853ab9d0883626034502 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 31 Jan 2025 16:08:23 +0100 Subject: [PATCH] Update api.js --- lightrag/api/static/js/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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