Skip to content

Commit

Permalink
Merge branch 'release/0.3.79' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Apr 3, 2024
2 parents a68fd05 + 5f9c7a7 commit 9ed17f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edc_consent/view_mixins/consent_view_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_context_data(self, **kwargs) -> dict[str, Any]:
def consents(self) -> QuerySet[ConsentLikeModel]:
"""Returns a Queryset of consents for this subject."""
if not self._consents:
self._consents = site_consents.get_consent_or_raise(
self._consents = site_consents.get_consents(
self.subject_identifier, site_id=self.request.site.id
)
return self._consents
Expand Down

0 comments on commit 9ed17f7

Please sign in to comment.