Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: use query param for delete method (#30206)

Xiyuan Chen6044f0666a5d
diff --git a/api/services/enterprise/enterprise_service.py b/api/services/enterprise/enterprise_service.py
index 83d0fcf2969..c0cc0e52334 100644
--- a/api/services/enterprise/enterprise_service.py
+++ b/api/services/enterprise/enterprise_service.py
@@ -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)