Skip to content

Commit 2a72df4

Browse files
committed
KAIZEN-0 La på content-type på søk kall
1 parent 2ba50b3 commit 2a72df4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rest/api.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ export enum OrderByDirection {
4141
export const lagHentBrukereFetchInfo = (params: { sok: BeslutteroversiktSok }): FetchInfo => ({
4242
url: `${VEILARBVEDTAKSSTOTTE_API}/beslutteroversikt/sok`,
4343
method: 'POST',
44+
headers: {
45+
'Content-Type': 'application/json'
46+
},
4447
body: JSON.stringify(params.sok)
4548
});
4649

0 commit comments

Comments
 (0)