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

Fikser slik at kall for brev forhåndsvisning fungerer med generert klient. #6959

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

josstn
Copy link
Collaborator

@josstn josstn commented Jan 6, 2025

Generert klientkode var for gammal.

@josstn josstn marked this pull request as ready for review January 6, 2025 12:18
@josstn josstn requested a review from a team as a code owner January 6, 2025 12:18
@qtips qtips merged commit 0fd2f98 into ung-brev Jan 6, 2025
3 checks passed
@qtips qtips deleted the ung-brev-clientfix branch January 6, 2025 12:23
hallvardastark added a commit that referenced this pull request Jan 7, 2025
* Påbegynt brev for ung-web

* Kjører window.open på respons fra forhåndsvis

* bruker axios for pushing midlertidig

* åpner pdf i ny fane

* Legger inn checkbokser for håndtering av brev
Legger inn submit-knapp for vedtaksteget

* Viser avslagsårsaker

* Storybook-story
Lager custom dto som bare inneholder det vi faktisk trenger i komponenten

* read only på checkbokser

* Fikser slik at kall for brev forhåndsvisning fungerer med generert klient. (#6959)

Generert klientkode var for gammal.

* Forhåndsvis skal ikke submitte

* Fiks accept header på kall til /formidling/vedtaksbrev/forhaandsvis.

Dette kallet skal ha Accept: application/pdf for å fungere, istadenfor standard application/json.

Denen fiks er ein midlertidig workaround inntil generert klient støtter å sette korrekt accept header på ein betre måte.

* Returnerer fra query for å forhindre feilmelding
Query data cannot be undefined. Please make sure to return a value other than undefined from your query function.

* Sjekker om det finnes tilgjengelige vedtaksbrev

* Fiks story

---------

Co-authored-by: Hallvard Andreas Stark <[email protected]>
Co-authored-by: Jostein Stuhaug <[email protected]>
Co-authored-by: Jostein Stuhaug <[email protected]>
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