Skip to content

Commit

Permalink
Remove template variable
Browse files Browse the repository at this point in the history
  • Loading branch information
will-craig committed Jul 3, 2023
1 parent 300c2d6 commit a785baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AdminWebsite/AdminWebsite/Services/HearingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public async Task<ParticipantRequest> ProcessNewParticipant(
|| (!ejudFeatureFlag && participant.CaseRoleName == RoleNames.Judge))
{
if (hearing.Participants != null &&
hearing.Participants.Exists(p => p.ContactEmail.Equals(participant.ContactEmail) && removedParticipantIds.All(removedParticipantId => removedParticipantId != p.Id)))
hearing.Participants.Exists(p => p.ContactEmail.Equals(participant.ContactEmail) && removedParticipantIds.TrueForAll(removedParticipantId => removedParticipantId != p.Id)))
{
//If the judge already exists in the database, there is no need to add again.
return null;
Expand Down
3 changes: 1 addition & 2 deletions charts/vh-admin-web/values.dev.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ java:
AZUREAD__POSTLOGOUTREDIRECTURI: https://${SERVICE_FQDN}/logout
AZUREAD__REDIRECTURI: https://${SERVICE_FQDN}/home
DOM1__POSTLOGOUTREDIRECTURI: https://${SERVICE_FQDN}/logout
DOM1__REDIRECTURI: https://${SERVICE_FQDN}/home
VHSERVICES__BOOKINGSAPIURL: https://vh-bookings-api-pr-654.dev.platform.hmcts.net
DOM1__REDIRECTURI: https://${SERVICE_FQDN}/home

0 comments on commit a785baa

Please sign in to comment.