From a11318390d5ae301f468e8a5971c9a48175bfdd3 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 25 Apr 2024 10:18:38 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E8=AF=BB=E5=8F=96=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/endpoints/system.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/api/endpoints/system.py b/app/api/endpoints/system.py index a1ad303f..3b9201ff 100644 --- a/app/api/endpoints/system.py +++ b/app/api/endpoints/system.py @@ -51,12 +51,11 @@ def get_env_setting(_: schemas.TokenPayload = Depends(verify_token)): info = settings.dict( exclude={"SECRET_KEY", "SUPERUSER_PASSWORD"} ) - frontend_version = SystemChain().get_frontend_version() info.update({ "VERSION": APP_VERSION, "AUTH_VERSION": SitesHelper().auth_version, "INDEXER_VERSION": SitesHelper().indexer_version, - "FRONTEND_VERSION": frontend_version + "FRONTEND_VERSION": SystemChain().get_frontend_version() }) return schemas.Response(success=True, data=info)