-
Notifications
You must be signed in to change notification settings - Fork 0
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
Skriver om fagsakYtelsesType til nytt kodeverk #6999
base: master
Are you sure you want to change the base?
Conversation
@@ -17,6 +19,23 @@ const getAxiosHttpClientApi = () => { | |||
return config; | |||
}); | |||
|
|||
/* | |||
* Interceptor for å sjekke alle api resonser for kodeverk-obekter og konverttere dem til nye kodeverkstrenger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dette er jo den viktigste endringen? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja :)
|
||
const kodeverkSomSkalSkrivesOm: string[] = Object.keys(KodeverkTypeV2); | ||
|
||
export const konverterKodeverkTilKodeSelektivt = (data: any, erTilbakekreving: boolean) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hva er forskjellen på denne og ackages/v2/lib/src/kodeverk/konverterKodeverkTilKode.ts
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Den vil kun konvertere de kodeverktypene som er angitt i kodeverSomSkalSkrivesOm arrayet, som henter kodeverkene fra KodeverkTypeV2
No description provided.