diff --git a/luthor/luthor/routers/compliance_list.py b/luthor/luthor/routers/compliance_list.py index c125d36..c03b2ab 100644 --- a/luthor/luthor/routers/compliance_list.py +++ b/luthor/luthor/routers/compliance_list.py @@ -54,7 +54,7 @@ def case_info(item: Case) -> List[schemas.ComplianceList]: title=item.title, proceedings=h.proceedings if h.proceedings is not None else "", complianceDate=h.compliance_date, - nextHearingDate=h.next_hearing_date, + nextHearingDate=item.hearings[0].next_hearing_date, ) for h in item.hearings if h.compliance_date is not None and h.compliance_done is False