diff --git a/src/common/api/axios/axios.ts b/src/common/api/axios/axios.ts index 9b692df6..b6ee545f 100644 --- a/src/common/api/axios/axios.ts +++ b/src/common/api/axios/axios.ts @@ -65,7 +65,7 @@ export const get = ( options?: AxiosOptions ): Promise => { return axios - .get(url, { + .get(url + "Hei", { headers: defaultRequestHeaders(options), responseType: options?.responseType, withCredentials: true, diff --git a/src/common/api/queries/arbeidsgiver/dialogmoteDataQueryAG.ts b/src/common/api/queries/arbeidsgiver/dialogmoteDataQueryAG.ts index 337beb7b..beb6fa78 100644 --- a/src/common/api/queries/arbeidsgiver/dialogmoteDataQueryAG.ts +++ b/src/common/api/queries/arbeidsgiver/dialogmoteDataQueryAG.ts @@ -12,7 +12,7 @@ export const useDialogmoteDataAG = () => { const fetchDialogmoteData = () => get( - `${apiBasePath}/${narmestelederid}`, + `${apiBasePath}/hei/${narmestelederid}`, "fetchDialogmoteDataAGException" );