mirror of
https://github.com/langgenius/dify.git
synced 2026-03-10 09:56:13 +08:00
fix: update request parameters in EnterpriseService to use 'params' instead of 'json' for DELETE requests
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user