diff --git a/edc_consent/view_mixins/consent_view_mixins.py b/edc_consent/view_mixins/consent_view_mixins.py index 6dba4d2..27443f9 100644 --- a/edc_consent/view_mixins/consent_view_mixins.py +++ b/edc_consent/view_mixins/consent_view_mixins.py @@ -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