ci: satisfy plugin branch quality gates

This commit is contained in:
yellowcooln committed 2026-09-04 10:42:33 -04:00
1 parent c0aeb89399
commit 9150264f49
6 files changed
+28 -34

No files matched your search

+3 -6
View File
@@ -136,12 +136,9 @@ class PluginAPIEndpoints:
else:
delete_data = bool(raw)
# JSON body optional
try:
body = self._json_body()
if "delete_data" in body:
delete_data = bool(body.get("delete_data"))
except Exception:
pass
body = self._json_body()
if "delete_data" in body:
delete_data = bool(body.get("delete_data"))
def _uninstall():
return self._client_or_raise().uninstall(plugin_id, delete_data=delete_data)