Update manage.py

This commit is contained in:
qiaofeng1227 2023-05-15 14:08:31 +08:00 committed by GitHub
parent 0ba7b5a564
commit af8cff0140
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -550,7 +550,7 @@ def app_domain_delete(app_id, domains):
if domain not in old_domains:
raise CommandException(const.ERROR_CLIENT_PARAM_NOTEXIST, "Domain is not bind", "")
proxy = get_proxy(app_id, domain)
proxy = get_proxy_domain(app_id, domain)
if proxy != None:
myLogger.info_logger(proxy)
domains_old = proxy["domain_names"]