From be34381322b7f3a9c6da3c3dc3f1d0c23390e505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges-Andr=C3=A9=20Silber?= Date: Mon, 27 May 2024 18:29:46 +0200 Subject: [PATCH] Change SIRENE API URL #195 --- server/src/common/apis/SireneApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/common/apis/SireneApi.js b/server/src/common/apis/SireneApi.js index 84f201ff..61d21540 100644 --- a/server/src/common/apis/SireneApi.js +++ b/server/src/common/apis/SireneApi.js @@ -68,7 +68,7 @@ class SireneApi extends RateLimitedApi { } logger.debug(`Récupération des établissements`, { cursor, query }); - const { headers, stream } = await fetchStream(`${SireneApi.baseApiUrl}/entreprises/sirene/V3/siret`, { + const { headers, stream } = await fetchStream(`${SireneApi.baseApiUrl}/entreprises/sirene/siret`, { raw: true, method: "POST", headers: {