diff --git a/api/services/feature_service.py b/api/services/feature_service.py index a42b3020cd..cb8f475c20 100644 --- a/api/services/feature_service.py +++ b/api/services/feature_service.py @@ -10,6 +10,7 @@ from services.enterprise.enterprise_service import EnterpriseService class SubscriptionModel(BaseModel): plan: str = "sandbox" interval: str = "" + education: bool = False class BillingModel(BaseModel): @@ -119,6 +120,7 @@ class FeatureService: features.billing.enabled = billing_info["enabled"] features.billing.subscription.plan = billing_info["subscription"]["plan"] features.billing.subscription.interval = billing_info["subscription"]["interval"] + features.billing.subscription.education = billing_info["subscription"]["education"] if "members" in billing_info: features.members.size = billing_info["members"]["size"]