From 8ff99b84ea7ecf9121c430beb9187bee25208919 Mon Sep 17 00:00:00 2001 From: xavier jouppe Date: Thu, 10 Oct 2024 09:44:20 +0200 Subject: [PATCH] feat: add monitoring to IG --- clients/ping-api-clients.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/ping-api-clients.ts b/clients/ping-api-clients.ts index c8074977e..53dce1961 100644 --- a/clients/ping-api-clients.ts +++ b/clients/ping-api-clients.ts @@ -8,6 +8,7 @@ import { } from '#utils/helpers'; import { clientMarcheInclusion } from './api-inclusion'; import { clientEORI } from './api-proxy/eori'; +import { clientUniteLegaleIG } from './api-proxy/greffe'; import { clientRNEImmatriculation } from './api-proxy/rne'; import { clientTVA } from './api-proxy/tva'; import clientSearchRechercheEntreprise from './recherche-entreprise'; @@ -29,6 +30,8 @@ const ping = async (slug: string | string[]) => { const useCache = false; switch (slug) { + case 'api-proxy-ig': + return await clientUniteLegaleIG(sirenDanone); case 'api-proxy-rne': // fetch IRM and disable cache return await clientRNEImmatriculation(sirenDanone, useCache);