Update manage.py

This commit is contained in:
qiaofeng1227 2023-05-13 22:02:29 +08:00 committed by GitHub
parent dbef9cd981
commit 88a7d222a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -658,7 +658,7 @@ def app_domain_update(app_id, domain_old, domain_new):
requests.put(url, data=json.dumps(data), headers=headers) requests.put(url, data=json.dumps(data), headers=headers)
#set_domain(domains[0], app_id) #set_domain(domains[0], app_id)
return domains return domain_new
else: else:
raise CommandException(const.ERROR_CLIENT_PARAM_NOTEXIST, "App has no proxy", "") raise CommandException(const.ERROR_CLIENT_PARAM_NOTEXIST, "App has no proxy", "")