Update apps.py

This commit is contained in:
qiaofeng1227 2023-03-16 14:27:42 +08:00 committed by GitHub
parent 6092282cac
commit a6010c46ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ router = APIRouter()
@router.api_route("/details", methods=["GET", "POST"]) @router.api_route("/details", methods=["GET", "POST"])
def app_detail(app_id: Optional[str] = None): def app_detail(app_id: Optional[str] = None):
myLogger.info_logger("Receive request: /api/v1/apps/details") myLogger.info_logger("Receive request: /api/v1/apps/details")
list = manage.get_app_detail() list = manage.get_app_detail(app_id)
return JSONResponse(content=list) return JSONResponse(content=list)
@router.api_route("", methods=["GET", "POST"]) @router.api_route("", methods=["GET", "POST"])