diff --git a/package.json b/package.json index 5f13adb5..e8811abb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stromae", - "version": "2.4.14", + "version": "2.4.15", "description": "Web application for the management of questionnaires powered by Lunatic", "repository": { "type": "git", diff --git a/src/utils/hooks/api.js b/src/utils/hooks/api.js index b911e88f..67c23992 100644 --- a/src/utils/hooks/api.js +++ b/src/utils/hooks/api.js @@ -29,7 +29,7 @@ export const useGetReferentiel = (nomenclatures) => { const getReferentielForVizu = useConstCallback((refName) => { if (nomenclatures && Object.keys(nomenclatures).includes(refName)) { const finalUrl = nomenclatures[refName]; - return getFetcherForLunatic(oidc.getTokens().accessToken)(finalUrl); + return getFetcherForLunatic(null)(finalUrl); } // No nomenclature, return empty array to lunatic return Promise.resolve([]);