Skip to content

Commit

Permalink
Toggle v3 - test i preprod.
Browse files Browse the repository at this point in the history
  • Loading branch information
ma10s committed Nov 5, 2024
1 parent 2e6ca09 commit 2da3351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/App/hooks/useHentBrevStruktur.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const useHentBrevStruktur = (
const [brevStruktur, settBrevStruktur] = useState<Ressurs<BrevStruktur>>(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(() => {
Expand Down

0 comments on commit 2da3351

Please sign in to comment.