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
7d6f3656b0
commit
b836afa49e
@ -45,7 +45,7 @@ def stop_app(app_id: Optional[str] = None):
|
||||
@router.api_route("/restart", methods=["GET", "POST"])
|
||||
def restart_app(app_id: Optional[str] = None):
|
||||
myLogger.info_logger("Receive request: /api/v1/apps/restart")
|
||||
ret = manage.restart(app_id)
|
||||
ret = manage.restart_app(app_id)
|
||||
return JSONResponse(content=ret)
|
||||
|
||||
@router.api_route("/uninstall", methods=["GET", "POST"])
|
||||
|
Loading…
Reference in New Issue
Block a user