Skip to content

Commit

Permalink
Sleng på intrans
Browse files Browse the repository at this point in the history
  • Loading branch information
sebassonav committed Feb 25, 2025
1 parent 3b7ac11 commit 4854e9f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ internal fun Route.aktivitetspliktRoutes(

post("/opprett") {
val request = call.receive<OpprettOppfoelgingsoppgave>()
aktivitetspliktOppgaveService.opprettOppfoelgingsoppgave(request)
inTransaction {
aktivitetspliktOppgaveService.opprettOppfoelgingsoppgave(request)
}
call.respond(HttpStatusCode.OK)
}

Expand Down

0 comments on commit 4854e9f

Please sign in to comment.