From 85f8b231d49a15ed4d6e7d95809e1ad5de5a3dfa Mon Sep 17 00:00:00 2001 From: antoineludeau <52679050+antoineludeau@users.noreply.github.com> Date: Wed, 22 Nov 2023 15:47:34 +0100 Subject: [PATCH] Modified id-fix main route name --- lib/api/legacy-routes.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/legacy-routes.cjs b/lib/api/legacy-routes.cjs index 912a20e0..5fe5664b 100644 --- a/lib/api/legacy-routes.cjs +++ b/lib/api/legacy-routes.cjs @@ -243,7 +243,7 @@ app.post( try { // Async Call to ID-Fix if (API_IDFIX_URL) { - fetch(`${API_IDFIX_URL}/district/cog/${codeCommune}/`, { + fetch(`${API_IDFIX_URL}/compute-from-cog/${codeCommune}`, { method: 'GET', headers: { 'content-Type': 'application/json',