Merge branch 'development' into ready
Some checks failed
Build And Publish Docker Images / plan (push) Has been cancelled
Build And Publish Docker Images / build (push) Has been cancelled

This commit is contained in:
frdel 2026-03-27 10:40:22 +01:00
commit b6d152c873
2 changed files with 3 additions and 8 deletions

View file

@ -56,11 +56,4 @@ class PluginInstall(ApiHandler):
return update_from_git(input.get("plugin_name", ""))
def _fetch_index(self, input: dict) -> dict:
force_raw = input.get("force", False)
force = force_raw if isinstance(force_raw, bool) else str(force_raw).strip().lower() in {
"1",
"true",
"yes",
"on",
}
return {"success": True, **get_plugin_hub_index(force=force)}
return {"success": True, **get_plugin_hub_index()}