Update apps.py

This commit is contained in:
qiaofeng1227 2023-05-13 22:21:10 +08:00 committed by GitHub
parent 9d8568bb7b
commit ac46ec37f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -242,7 +242,7 @@ def AppDomainUpdate(request: Request, app_id: Optional[str] = Query(default=None
get_headers(request)
ret = {}
ret['ResponseData'] = {}
manage.app_domain_update(app_id,domain_old,domain_new)
domains = manage.app_domain_update(app_id,domain_old,domain_new)
ret['ResponseData'] = domains
except CommandException as ce:
ret = {}