From cd51bfb56816bcf04d078d6e3c27d69fa6544e13 Mon Sep 17 00:00:00 2001 From: hjlarry Date: Thu, 11 Dec 2025 15:39:33 +0800 Subject: [PATCH] fix CI --- api/services/billing_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/services/billing_service.py b/api/services/billing_service.py index 6ffb1f0cb6..1fb16836b3 100644 --- a/api/services/billing_service.py +++ b/api/services/billing_service.py @@ -41,10 +41,10 @@ class BillingService: try: resp = cls._send_request("POST", "/subscription/plan/batch", json={"tenant_ids": tenant_ids}) + return resp.get("data", {}) except Exception: logger.exception("Failed to fetch billing info batch for tenants: %s", tenant_ids) - - return resp.get("data", {}) + return {} @classmethod def get_tenant_feature_plan_usage_info(cls, tenant_id: str):