mirror of https://github.com/langgenius/dify.git
fix: update request parameters in EnterpriseService for DELETE operation
- Changed the request body to use query parameters instead of JSON body for the DELETE request to /webapp/clean.
This commit is contained in:
parent
ee314013d7
commit
c9f7d02cfc
|
|
@ -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