From a4aee8ab4739e5e43baa704409b4476b5bbaa9e8 Mon Sep 17 00:00:00 2001 From: TooY <330282372@qq.com> Date: Mon, 27 Mar 2023 15:44:20 +0800 Subject: [PATCH] update apps.py --- appmanage/api/v1/routers/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appmanage/api/v1/routers/apps.py b/appmanage/api/v1/routers/apps.py index 08f5369b..27573083 100644 --- a/appmanage/api/v1/routers/apps.py +++ b/appmanage/api/v1/routers/apps.py @@ -16,7 +16,7 @@ router = APIRouter() def app_detail(app_id: Optional[str] = None): myLogger.info_logger("Receive request: /api/v1/apps/details") list = manage.get_app_detail(app_id) - return JSONResponse(content=list) + return list @router.api_route("", methods=["GET", "POST"]) def list_my_apps():