mirror of https://github.com/langgenius/dify.git
fix: update request parameters in EnterpriseService to use 'params' instead of 'json' for DELETE requests
This commit is contained in:
parent
2f3be1a32a
commit
cc0cf10d77
|
|
@ -110,5 +110,5 @@ class EnterpriseService:
|
|||
if not app_id:
|
||||
raise ValueError("app_id must be provided.")
|
||||
|
||||
body = {"appId": app_id}
|
||||
EnterpriseRequest.send_request("DELETE", "/webapp/clean", json=body)
|
||||
params = {"appId": app_id}
|
||||
EnterpriseRequest.send_request("DELETE", "/webapp/clean", params=params)
|
||||
|
|
|
|||
Loading…
Reference in New Issue