From c78f3ffb6738e5ceeef7f188a91acdb6952896e9 Mon Sep 17 00:00:00 2001 From: Lars Otto Haugen <45556722+LarsOttoHaugen@users.noreply.github.com> Date: Thu, 25 Jan 2024 13:02:36 +0100 Subject: [PATCH] =?UTF-8?q?Justert=20litt=20p=C3=A5=20feilrapportering=20f?= =?UTF-8?q?ra=20bidrag-grunnlag=20(#50)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../behandling/grunnlag/response/FeilrapporteringDto.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/FeilrapporteringDto.kt b/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/FeilrapporteringDto.kt index 291bda4..0df8af3 100644 --- a/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/FeilrapporteringDto.kt +++ b/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/FeilrapporteringDto.kt @@ -2,7 +2,7 @@ package no.nav.bidrag.transport.behandling.grunnlag.response import io.swagger.v3.oas.annotations.media.Schema import no.nav.bidrag.domene.enums.grunnlag.GrunnlagRequestType -import org.springframework.http.HttpStatus +import org.springframework.http.HttpStatusCode import java.time.LocalDate data class FeilrapporteringDto( @@ -15,7 +15,7 @@ data class FeilrapporteringDto( @Schema(description = "Periode til-dato") val periodeTil: LocalDate?, @Schema(description = "Http statuskode") - val feilkode: HttpStatus?, + val feilkode: HttpStatusCode?, @Schema(description = "Feilmelding") val feilmelding: String?, )