fix(api): allow the team plan to use email delivery

This commit is contained in:
QuantumGhost
2026-01-15 17:25:35 +08:00
parent 5bf1feb93c
commit 73939fd645

View File

@ -211,7 +211,10 @@ class FeatureService:
return True
if not tenant_id:
return False
return features.billing.enabled and features.billing.subscription.plan == CloudPlan.PROFESSIONAL
return features.billing.enabled and features.billing.subscription.plan in (
CloudPlan.PROFESSIONAL,
CloudPlan.TEAM,
)
@classmethod
def get_system_features(cls) -> SystemFeatureModel: