Update apps.py

This commit is contained in:
qiaofeng1227 2023-04-16 20:09:36 +08:00 committed by GitHub
parent e71e8ced04
commit 4345346fa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@ def AppUninstall(request: Request, app_id: Optional[str] = Query(default=None, d
get_headers(request)
ret = {}
ret['ResponseData'] = {}
manage.uninstall_app(app_name, customer_name, app_version)
manage.uninstall_app(app_id)
ret['ResponseData']['AppID'] = app_id
except CommandException as ce:
ret = {}