Skip to content

Commit

Permalink
chore: remove the remaining call to api/plans (#18589)
Browse files Browse the repository at this point in the history
remove the remaining call to api/plans

Co-authored-by: Bianca Yang <[email protected]>
  • Loading branch information
xrdt and Bianca Yang authored Nov 14, 2023
1 parent 9411f8e commit 96dd0d2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ee/billing/billing_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,6 @@ def _get_stripe_portal_url(self, organization: Organization) -> BillingStatus:

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"}
Expand Down

0 comments on commit 96dd0d2

Please sign in to comment.