Skip to content

Commit

Permalink
simplify toDaycarePlacement function
Browse files Browse the repository at this point in the history
  • Loading branch information
msavolainen-gofore committed Sep 26, 2024
1 parent f0869bf commit f8fe1db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -773,9 +773,9 @@ private val toDaycarePlacement: Row.() -> DaycarePlacement = {
modifiedBy =
column<UUID?>("modified_by_id")?.let {
EvakaUser(
EvakaUserId(column("modified_by_id")),
column("modified_by_id"),
column("modified_by_name"),
EvakaUserType.valueOf(column("modified_by_type")),
column("modified_by_type"),
)
},
)
Expand Down

0 comments on commit f8fe1db

Please sign in to comment.