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:
GareArc 2025-12-25 22:28:02 -08:00
parent ee314013d7
commit c9f7d02cfc
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -110,5 +110,5 @@ class EnterpriseService:
if not app_id: if not app_id:
raise ValueError("app_id must be provided.") raise ValueError("app_id must be provided.")
body = {"appId": app_id} params = {"appId": app_id}
EnterpriseRequest.send_request("DELETE", "/webapp/clean", json=body) EnterpriseRequest.send_request("DELETE", "/webapp/clean", params=params)