File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,19 @@ export const lagHentFeaturesFetchInfo = (): FetchInfo => {
48
48
export const lagHentBrukereFetchInfo = ( params : { sok : BeslutteroversiktSok } ) : FetchInfo => ( {
49
49
url : `${ VEILARBVEDTAKSSTOTTE_API } /beslutteroversikt/sok` ,
50
50
method : 'POST' ,
51
+ credentials : 'same-origin' ,
51
52
headers : {
52
53
'Content-Type' : 'application/json'
53
54
} ,
54
55
body : JSON . stringify ( params . sok )
55
56
} ) ;
56
57
57
58
export const lagHentInnloggetVeilederFetchInfo = ( ) : FetchInfo => ( {
59
+ credentials : 'same-origin' ,
58
60
url : `${ VEILARBVEILEDER_API } /veileder/v2/me`
59
61
} ) ;
60
62
61
63
export const lagHentAktivEnhetFetchInfo = ( ) : FetchInfo => ( {
64
+ credentials : 'same-origin' ,
62
65
url : `${ MODIACONTEXTHOLDER_API } /context/aktivenhet`
63
66
} ) ;
You can’t perform that action at this time.
0 commit comments