Skip to content

Commit

Permalink
Hotfix: Legge tilbake curly som forsvant (#7056)
Browse files Browse the repository at this point in the history
  • Loading branch information
Watercolours authored Feb 17, 2025
1 parent 938a3ce commit f5e9c9f
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ fun Route.sakGrunnlagRoute(grunnlagService: GrunnlagService) {

call.respond(persongalleri)
}
}

post("opprett-grunnlag") {
val opplysningsbehov = call.receive<Opplysningsbehov>()
grunnlagService.opprettEllerOppdaterGrunnlagForSak(sakId, opplysningsbehov)
call.respond(HttpStatusCode.OK)
}
post("opprett-grunnlag") {
val opplysningsbehov = call.receive<Opplysningsbehov>()
grunnlagService.opprettEllerOppdaterGrunnlagForSak(sakId, opplysningsbehov)
call.respond(HttpStatusCode.OK)
}

post("/oppdater-grunnlag") {
val request = call.receive<OppdaterGrunnlagRequest>()
grunnlagService.oppdaterGrunnlagForSak(request)
call.respond(HttpStatusCode.OK)
}
post("/oppdater-grunnlag") {
val request = call.receive<OppdaterGrunnlagRequest>()
grunnlagService.oppdaterGrunnlagForSak(request)
call.respond(HttpStatusCode.OK)
}

post("/nye-opplysninger") {
val opplysningsbehov = call.receive<NyeSaksopplysninger>()
grunnlagService.lagreNyeSaksopplysningerBareSak(
opplysningsbehov.sakId,
opplysningsbehov.opplysninger,
)
call.respond(HttpStatusCode.OK)
post("/nye-opplysninger") {
val opplysningsbehov = call.receive<NyeSaksopplysninger>()
grunnlagService.lagreNyeSaksopplysningerBareSak(
opplysningsbehov.sakId,
opplysningsbehov.opplysninger,
)
call.respond(HttpStatusCode.OK)
}
}
}

Expand Down

0 comments on commit f5e9c9f

Please sign in to comment.