Update manage.py

This commit is contained in:
qiaofeng1227 2023-05-14 09:42:28 +08:00 committed by GitHub
parent cc2cbd0e89
commit 7502d4dbb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -657,7 +657,7 @@ def app_domain_update(app_id, domain_old, domain_new):
"ssl_forced": False
}
requests.put(url, dta=json.dumps(data), headers=headers)
requests.put(url, data=json.dumps(data), headers=headers)
set_domain(domain_new, app_id)
return domain_new