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 25, 2024
1 parent 7cb2068 commit 1138917
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class Handler(
}

fun Defendant.toProbationMatchRequest(): ProbationMatchRequest {
val personDetails = this.personDefendant?.personDetails ?: throw IllegalArgumentException("Person details are required")
val personDetails =
this.personDefendant?.personDetails ?: throw IllegalArgumentException("Person details are required")
return ProbationMatchRequest(
firstName = personDetails.firstName,
surname = personDetails.lastName,
Expand Down

0 comments on commit 1138917

Please sign in to comment.