From a785baa2ca1a9eaea83dc237cf89aff44b1e5bb6 Mon Sep 17 00:00:00 2001 From: William Craig Date: Mon, 3 Jul 2023 08:50:54 +0100 Subject: [PATCH] Remove template variable --- AdminWebsite/AdminWebsite/Services/HearingsService.cs | 2 +- charts/vh-admin-web/values.dev.template.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/AdminWebsite/AdminWebsite/Services/HearingsService.cs b/AdminWebsite/AdminWebsite/Services/HearingsService.cs index 7dcd0f69f..1146ad86b 100644 --- a/AdminWebsite/AdminWebsite/Services/HearingsService.cs +++ b/AdminWebsite/AdminWebsite/Services/HearingsService.cs @@ -151,7 +151,7 @@ public async Task 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; diff --git a/charts/vh-admin-web/values.dev.template.yaml b/charts/vh-admin-web/values.dev.template.yaml index 0c2868cf8..c653d0aa1 100644 --- a/charts/vh-admin-web/values.dev.template.yaml +++ b/charts/vh-admin-web/values.dev.template.yaml @@ -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 \ No newline at end of file + DOM1__REDIRECTURI: https://${SERVICE_FQDN}/home \ No newline at end of file