Skip to content

Commit

Permalink
Remove TODO as it's odd but ok
Browse files Browse the repository at this point in the history
  • Loading branch information
zachaysan committed Nov 1, 2024
1 parent fbc5e90 commit 280307c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/organisations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,6 @@ def _get_subscription_metadata_for_chargebee(self) -> ChargebeeObjMetadata:
return cb_metadata

def _get_subscription_metadata_for_self_hosted(self) -> BaseSubscriptionMetadata:
# TODO: this feels odd returning to the organisation that we likely just came
# from to get to this method.
if is_enterprise() and hasattr(self.organisation, "licence"):
licence_information = self.organisation.licence.get_licence_information()
return BaseSubscriptionMetadata(
Expand Down

0 comments on commit 280307c

Please sign in to comment.