You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/approved-premises-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/MessagingIntegrationTest.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -448,7 +448,7 @@ internal class MessagingIntegrationTest {
Copy file name to clipboardExpand all lines: projects/approved-premises-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/approvedpremises/referral/entity/PreferredResidence.kt
Copy file name to clipboardExpand all lines: projects/approved-premises-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/service/ReferralService.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -120,8 +120,8 @@ class ReferralService(
120
120
val person = personRepository.getByCrn(crn)
121
121
val externalReference =Nsi.EXT_REF_BOOKING_PREFIX+ details.bookingId
122
122
val referral = findReferral(person, externalReference)?.also {
123
-
if (preferredResidenceRepository.existsByApprovedPremisesResidenceId(it.id)) {
0 commit comments