From cc0cf10d776ad5047fdb28b828bbaf47d5cf0ade Mon Sep 17 00:00:00 2001 From: GareArc Date: Thu, 25 Dec 2025 22:28:25 -0800 Subject: [PATCH] fix: update request parameters in EnterpriseService to use 'params' instead of 'json' for DELETE requests --- api/services/enterprise/enterprise_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/services/enterprise/enterprise_service.py b/api/services/enterprise/enterprise_service.py index 83d0fcf296..c0cc0e5233 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)