mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
chore: remove the remaining call to api/plans (#18589)
remove the remaining call to api/plans Co-authored-by: Bianca Yang <bianca@posthog.com>
This commit is contained in:
parent
9411f8ed77
commit
96dd0d2fd3
@ -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"}
|
||||
|
Loading…
Reference in New Issue
Block a user