Skip to content

Commit

Permalink
change order of update hearing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shaed-parkar committed Apr 30, 2024
1 parent 776a494 commit 7fee196
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,9 @@ private async Task UpdateHearing(EditHearingRequest request, Guid hearingId, Hea
if (_featureToggles.UseV2Api())
{
var updateHearingRequestV2 = HearingUpdateRequestMapper.MapToV2(request, _userIdentity.GetUserIdentityName());
await _bookingsApiClient.UpdateHearingDetails2Async(hearingId, updateHearingRequestV2);
await UpdateParticipantsV2(hearingId, request.Participants, request.Endpoints, originalHearing);
await UpdateJudiciaryParticipants(hearingId, request.JudiciaryParticipants, originalHearing);
await _bookingsApiClient.UpdateHearingDetails2Async(hearingId, updateHearingRequestV2);
}
else
{
Expand Down

0 comments on commit 7fee196

Please sign in to comment.