From 96dd0d2fd3d94b717b894ebbc407d594e949859e Mon Sep 17 00:00:00 2001 From: Bianca Yang Date: Tue, 14 Nov 2023 09:57:01 -0800 Subject: [PATCH] chore: remove the remaining call to api/plans (#18589) remove the remaining call to api/plans Co-authored-by: Bianca Yang --- ee/billing/billing_manager.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ee/billing/billing_manager.py b/ee/billing/billing_manager.py index 0790952c49a..c626083460e 100644 --- a/ee/billing/billing_manager.py +++ b/ee/billing/billing_manager.py @@ -191,15 +191,6 @@ class BillingManager: return data["url"] - def _get_plans(self, plan_keys: Optional[str]): - res = requests.get( - f'{BILLING_SERVICE_URL}/api/plans{"?keys=" + plan_keys if plan_keys else ""}', - ) - - handle_billing_service_error(res) - - return res.json() - def _get_products(self, organization: Optional[Organization]): headers = {} params = {"plan": "standard"}