From 218b6c5d12f72288519e105a3a7816e20362f8d5 Mon Sep 17 00:00:00 2001 From: hj24 Date: Mon, 26 Jan 2026 13:13:56 +0800 Subject: [PATCH] fix: add billing log --- api/services/billing_service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/services/billing_service.py b/api/services/billing_service.py index 26ce8cad33..623a63f105 100644 --- a/api/services/billing_service.py +++ b/api/services/billing_service.py @@ -143,6 +143,7 @@ class BillingService: raise ValueError("Invalid arguments.") if method == "POST" and response.status_code != httpx.codes.OK: raise ValueError(f"Unable to send request to {url}. Please try again later or contact support.") + logger.info("billing_service: _send_request: response: %s", response.json()) return response.json() @staticmethod @@ -165,6 +166,7 @@ class BillingService: def delete_account(cls, account_id: str): """Delete account.""" params = {"account_id": account_id} + logger.info("billing_service: delete_account: params: %s", params) return cls._send_request("DELETE", "/account/", params=params) @classmethod