diff --git a/api/routes.py b/api/routes.py index ac0d143f..1a96e748 100644 --- a/api/routes.py +++ b/api/routes.py @@ -13722,7 +13722,12 @@ def handle_post(handler, parsed) -> bool: if parsed.path == "/api/updates/check": settings = load_settings() if not settings.get("check_for_updates", True): - return j(handler, {"disabled": True}) + force = bool(body.get("force", False)) if isinstance(body, dict) else False + if force: + # Manual force-check bypasses auto-check toggle (#6082) + pass + else: + return j(handler, {"disabled": True}) include_agent_updates = not bool(settings.get("ignore_agent_updates")) force = bool(body.get("force", False)) # Allow the client to pass the channel explicitly in the POST body. This