Skip to content

Commit

Permalink
Remove is_enterprise check
Browse files Browse the repository at this point in the history
  • Loading branch information
zachaysan committed Jan 9, 2025
1 parent 6c9ad03 commit 5e33423
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/organisations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5e33423

Please sign in to comment.