Update manage.py

This commit is contained in:
qiaofeng1227 2023-05-11 16:43:52 +08:00 committed by GitHub
parent 1fcbc001a1
commit 415a216334
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -558,7 +558,7 @@ def app_domain_delete(app_id):
'Authorization': token,
'Content-Type': 'application/json'
}
requests.get(url, headers=headers)
requests.delete(url, headers=headers)
else:
raise CommandException(const.ERROR_CLIENT_PARAM_NOTEXIST, "App has no proxy", "")