Skip to content

Commit

Permalink
Legg til manglende call.svar(...) rundt forrige tilResultat()
Browse files Browse the repository at this point in the history
  • Loading branch information
hestad committed May 26, 2023
1 parent 79e6837 commit c81bbff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ internal fun Route.søknadRoutes(
fritekstTilBrev = body.fritekst,
),
).mapLeft {
it.tilResultat()
call.svar(it.tilResultat())
}.map {
call.audit(it.first, AuditLogEvent.Action.ACCESS, søknadId)
call.respondBytes(it.second, ContentType.Application.Pdf)
Expand Down

0 comments on commit c81bbff

Please sign in to comment.