Skip to content

Commit

Permalink
PI-2004 fix first name column (#3517)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-britton-moj authored Mar 21, 2024
1 parent 4525097 commit 3474d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ data class Person(
@Column(name = "most_recent_prisoner_number")
val prisonerNumber: String?,

val firstname: String,
val firstName: String,
val secondName: String?,
val thirdName: String?,
val surname: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fun Person.identifiers() =

fun Person.name() =
Name(
firstname,
firstName,
listOfNotNull(secondName, thirdName).ifEmpty { null }?.joinToString(" "),
surname,
previousSurname,
Expand Down

0 comments on commit 3474d90

Please sign in to comment.