Skip to content

Commit

Permalink
feat: add monitoring to IG
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed Oct 10, 2024
1 parent 4e0ee55 commit 8ff99b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clients/ping-api-clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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);
Expand Down

0 comments on commit 8ff99b8

Please sign in to comment.