Skip to content

Commit

Permalink
Formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
probation-integration-bot[bot] authored Oct 7, 2024
1 parent 16c1498 commit 9b9b390
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Handler(
is CustodyDateChanged -> cduService.updateCustodyKeyDates(message.bookingId)
is ProbationOffenderEvent -> when (notification.eventType) {
"SENTENCE_CHANGED",
-> personRepository.findNomsIdByCrn(message.crn)?.let { cduService.updateCustodyKeyDates(it) }
-> personRepository.findNomsIdByCrn(message.crn)?.let { cduService.updateCustodyKeyDates(it) }

else -> throw IllegalArgumentException("Unexpected offender event type: ${notification.eventType}")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class PomCaseMessageHandler(

is ProbationOffenderEvent -> when (notification.eventType) {
"SENTENCE_CHANGED",
-> personRepository.findNomsSingleCustodial(message.crn)?.let {
-> personRepository.findNomsSingleCustodial(message.crn)?.let {
try {
handoverDatesChanged.process(
HandoverMessage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Handler(
is OffenderEvent -> when (notification.eventType) {
"OFFENDER_DETAILS_CHANGED", // changes to name, date of birth, identifiers in Delius
"SENTENCE_CHANGED", // changes to sentence status and dates in Delius
-> prisonMatchingService
-> prisonMatchingService
.matchAndUpdateIdentifiers(message.crn)
.also { telemetryService.logResult(it) }

Expand Down

0 comments on commit 9b9b390

Please sign in to comment.