From 07c1a747048b014a23939fcdab72dd136cc0a3c0 Mon Sep 17 00:00:00 2001 From: OpenSquared Date: Wed, 17 Jun 2026 15:00:31 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20save=5Fconfig=20=E2=86=92=20set=5Fconfig?= =?UTF-8?q?=20(correct=20function=20name=20in=20database.py)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/main.py b/backend/main.py index fb1d3ba..f73f254 100644 --- a/backend/main.py +++ b/backend/main.py @@ -37,8 +37,8 @@ def startup(): if not key: env_key = os.environ.get("OPENAI_API_KEY", "") if env_key: - from services.database import save_config - save_config("openai_api_key", env_key) + from services.database import set_config + set_config("openai_api_key", env_key) key = env_key _log.info("[Startup] OPENAI_API_KEY synced from environment to DB config") if key: