From 5e33423fe277fa2d67956b9933281c74d0c41efd Mon Sep 17 00:00:00 2001 From: Zach Aysan Date: Thu, 9 Jan 2025 15:18:31 +0000 Subject: [PATCH] Remove is_enterprise check --- api/organisations/models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/organisations/models.py b/api/organisations/models.py index 1e5637df3e8e..1ddd62512e44 100644 --- a/api/organisations/models.py +++ b/api/organisations/models.py @@ -415,9 +415,7 @@ def _get_subscription_metadata_for_chargebee(self) -> ChargebeeObjMetadata: return cb_metadata def _get_subscription_metadata_for_self_hosted(self) -> BaseSubscriptionMetadata: - if is_enterprise() and hasattr( - self.organisation, "licence" - ): # pragma: no cover + if hasattr(self.organisation, "licence"): # pragma: no cover licence_information = self.organisation.licence.get_licence_information() return BaseSubscriptionMetadata( seats=licence_information.num_seats,