From c9f7d02cfcdbe125d9c51920475464d2dddaa94b Mon Sep 17 00:00:00 2001 From: GareArc Date: Thu, 25 Dec 2025 22:28:02 -0800 Subject: [PATCH] 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. --- 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)