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

F - Endrer signaturen til apiRequest til å ta i mot PersonInfo i sted… #486

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

dskarpas
Copy link
Contributor

…en for fnr

@dskarpas dskarpas requested a review from a team as a code owner January 16, 2025 14:13
@@ -136,7 +137,7 @@ class PrefillController(

val norskIdent = innhentingService.hentFnrfraAktoerService(request.aktoerId) ?: throw HttpClientErrorException(HttpStatus.BAD_REQUEST)
val avdodaktoerID = innhentingService.getAvdodId(BucType.from(request.buc.name)!!, request.riktigAvdod())
val dataModel = ApiRequest.buildPrefillDataModelOnExisting(request, norskIdent.id, avdodaktoerID)
val dataModel = ApiRequest.buildPrefillDataModelOnExisting(request, PersonInfo(norskIdent.id, request.aktoerId), avdodaktoerID)
Copy link
Contributor

Choose a reason for hiding this comment

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

Hvorfor har vi med request.aktoerId? Den brukes ikke videre?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

tror den brukes i prefill

@MariamPervez MariamPervez merged commit b25fe22 into master Jan 17, 2025
4 checks passed
@MariamPervez MariamPervez deleted the feature/oppdatering-av-apiRequest branch January 17, 2025 08:57
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.

2 participants