From 2da3351940691d2af6c82edbec40eb9a87e6456d Mon Sep 17 00:00:00 2001 From: ma10s Date: Tue, 5 Nov 2024 08:30:47 +0100 Subject: [PATCH] Toggle v3 - test i preprod. --- src/frontend/App/hooks/useHentBrevStruktur.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/App/hooks/useHentBrevStruktur.ts b/src/frontend/App/hooks/useHentBrevStruktur.ts index 0ff37f12e..3bcc54191 100644 --- a/src/frontend/App/hooks/useHentBrevStruktur.ts +++ b/src/frontend/App/hooks/useHentBrevStruktur.ts @@ -11,7 +11,7 @@ export const useHentBrevStruktur = ( const [brevStruktur, settBrevStruktur] = useState>(byggTomRessurs()); const { axiosRequest } = useApp(); const { toggles } = useToggles(); - const felterVersion = toggles[ToggleName.brukBrevEndepunktFelterV2] ? `/v2` : ''; + const felterVersion = toggles[ToggleName.brukBrevEndepunktFelterV2] ? `/v3` : ''; const url = `/familie-brev/api/${datasett}/avansert-dokument/bokmaal/${brevMal}/felter${felterVersion}`; useEffect(() => {