Skip to content

Commit

Permalink
fix: return only active CSOD configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameen Fatima authored and Sameen Fatima committed Apr 18, 2024
1 parent e64d1a3 commit a53b33c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Change Log
Unreleased
----------
[4.15.5]
--------
* fix: Improved the query to only fetch active configs for CSOD customers.

[4.15.4]
--------
* fix: allowing for existing pecus to be added to enterprise groups
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.15.4"
__version__ = "4.15.5"
3 changes: 2 additions & 1 deletion integrated_channels/cornerstone/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def get(self, request, *args, **kwargs):

worker_user = get_enterprise_worker_user()
enterprise_config = CornerstoneEnterpriseCustomerConfiguration.objects.get(
enterprise_customer=enterprise_customer
enterprise_customer=enterprise_customer,
active=True
)
exporter = enterprise_config.get_content_metadata_exporter(worker_user)
transmitter = enterprise_config.get_content_metadata_transmitter()
Expand Down

0 comments on commit a53b33c

Please sign in to comment.