mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Update apps.py
This commit is contained in:
parent
6092282cac
commit
a6010c46ed
@ -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"])
|
||||||
|
Loading…
Reference in New Issue
Block a user