Skip to content

Commit

Permalink
Endepunkt for G historikk er endret
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbjoern committed Jul 1, 2024
1 parent be24883 commit 452be4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/resultat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { State } from './_app';

export const getStaticProps = async () => {
const res = await fetch('https://g.nav.no/api/v1/grunnbeloep');
const resHistorikk = await fetch('https://g.nav.no/api/v1/historikk');
const resHistorikk = await fetch('https://g.nav.no/api/v1/historikk/grunnbeløp');
const data = await res.json();
// @ts-ignore
const dataHistorikk: GrunnbeloepHistorikk[] = await resHistorikk.json().then((res) =>
Expand Down

0 comments on commit 452be4d

Please sign in to comment.