From a1040010873fa5e3554bc707f902ea229fd141e4 Mon Sep 17 00:00:00 2001 From: Aqr-K <95741669+Aqr-K@users.noreply.github.com> Date: Sat, 2 Nov 2024 14:27:46 +0800 Subject: [PATCH] Update system.py --- app/api/endpoints/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/endpoints/system.py b/app/api/endpoints/system.py index 74e9c25d..909e4653 100644 --- a/app/api/endpoints/system.py +++ b/app/api/endpoints/system.py @@ -182,7 +182,7 @@ def get_env_setting(_: User = Depends(get_current_active_superuser)): 查询系统环境变量,包括当前版本号(仅管理员) """ info = settings.dict( - exclude={"SECRET_KEY", "RESOURCE_SECRET_KEY", "API_TOKEN", "GITHUB_TOKEN", "REPO_GITHUB_TOKEN"} + exclude={"SECRET_KEY", "RESOURCE_SECRET_KEY"} ) info.update({ "VERSION": APP_VERSION,