0
0
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:
Bianca Yang 2023-11-14 09:57:01 -08:00 committed by GitHub
parent 9411f8ed77
commit 96dd0d2fd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"}