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
d0f2a66b38
commit
8bfb38d35b
@ -17,7 +17,7 @@ def list_my_apps():
|
|||||||
return JSONResponse(content=list)
|
return JSONResponse(content=list)
|
||||||
|
|
||||||
@router.get("/install")
|
@router.get("/install")
|
||||||
def install_app(app_name: Optional[str] = None):
|
def install_app(app_name: Optional[str] = None, app_version: Optional[str] = None):
|
||||||
ret = manage.install_app(app_name)
|
ret = manage.install_app(app_name)
|
||||||
return JSONResponse(content=ret)
|
return JSONResponse(content=ret)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user