Skip to content

Commit

Permalink
Writing to case data
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeCohenSol committed Nov 22, 2024
1 parent 5f3741b commit dd00d20
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ public PreSubmitCallbackResponse<BailCase> handle(
final List<IdValue<String>> hearingIdList =
maybeHearingIdList.orElse(emptyList());

appendToHearingIdList(hearingIdList, hearingId);
List<IdValue<String>> newHearingIdList = appendToHearingIdList(hearingIdList, hearingId);

bailCase.write(HEARING_ID_LIST, newHearingIdList);

} else {
CaseDetails<BailCase> caseDetailsBefore = callback.getCaseDetailsBefore().orElse(null);
Expand Down

0 comments on commit dd00d20

Please sign in to comment.