From f5e9c9feca11d117f2519a0e00714aa55176cd1c Mon Sep 17 00:00:00 2001 From: "Nicolas N." Date: Mon, 17 Feb 2025 12:00:59 +0100 Subject: [PATCH] Hotfix: Legge tilbake curly som forsvant (#7056) --- .../main/kotlin/grunnlag/SakGrunnlagRoutes.kt | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/apps/etterlatte-behandling/src/main/kotlin/grunnlag/SakGrunnlagRoutes.kt b/apps/etterlatte-behandling/src/main/kotlin/grunnlag/SakGrunnlagRoutes.kt index 9e405f3fe1..d4bc8a3871 100644 --- a/apps/etterlatte-behandling/src/main/kotlin/grunnlag/SakGrunnlagRoutes.kt +++ b/apps/etterlatte-behandling/src/main/kotlin/grunnlag/SakGrunnlagRoutes.kt @@ -37,27 +37,27 @@ fun Route.sakGrunnlagRoute(grunnlagService: GrunnlagService) { call.respond(persongalleri) } - } - post("opprett-grunnlag") { - val opplysningsbehov = call.receive() - grunnlagService.opprettEllerOppdaterGrunnlagForSak(sakId, opplysningsbehov) - call.respond(HttpStatusCode.OK) - } + post("opprett-grunnlag") { + val opplysningsbehov = call.receive() + grunnlagService.opprettEllerOppdaterGrunnlagForSak(sakId, opplysningsbehov) + call.respond(HttpStatusCode.OK) + } - post("/oppdater-grunnlag") { - val request = call.receive() - grunnlagService.oppdaterGrunnlagForSak(request) - call.respond(HttpStatusCode.OK) - } + post("/oppdater-grunnlag") { + val request = call.receive() + grunnlagService.oppdaterGrunnlagForSak(request) + call.respond(HttpStatusCode.OK) + } - post("/nye-opplysninger") { - val opplysningsbehov = call.receive() - grunnlagService.lagreNyeSaksopplysningerBareSak( - opplysningsbehov.sakId, - opplysningsbehov.opplysninger, - ) - call.respond(HttpStatusCode.OK) + post("/nye-opplysninger") { + val opplysningsbehov = call.receive() + grunnlagService.lagreNyeSaksopplysningerBareSak( + opplysningsbehov.sakId, + opplysningsbehov.opplysninger, + ) + call.respond(HttpStatusCode.OK) + } } }