Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Essi endepunkt var feil EY-4277 #6461

Merged
merged 5 commits into from
Nov 27, 2024

Conversation

@sebassonav sebassonav changed the title ÅPne for a-reg i prod Essi endepunkt var feil Nov 27, 2024
@sebassonav sebassonav changed the title Essi endepunkt var feil Essi endepunkt var feil EY-4277 Nov 27, 2024
@sebassonav sebassonav marked this pull request as ready for review November 27, 2024 13:59
@sebassonav sebassonav requested a review from a team as a code owner November 27, 2024 13:59
@@ -59,7 +56,7 @@ fun Route.behandlingSakRoutes(
}
}

route("/${SAKID_CALL_PARAMETER}") {
route("/{$SAKID_CALL_PARAMETER}") {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obs obs

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oi, bra catch. Ser det snek seg med i denne: 9db8521

Her ser vi nok et eksempel på hvorfor 404 er problematisk å bruke for både "url finnes ikke" og "sak finnes ikke"... 🤷‍♂️

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ja, det er vanskelig å vite hva som er hva da.

Kanskje endre bruken av GenerellIkkeFunnetException som brukes en del steder?

)
}
response.status shouldBe HttpStatusCode.OK
println(response.bodyAsText())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fjerne println

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebassonav sebassonav merged commit 93b2810 into main Nov 27, 2024
4 checks passed
@sebassonav sebassonav deleted the bugfix/a-inntekt-skal-kunne-bruke-prod branch November 27, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants