diff --git a/backend/controllers/teleservices/index.ts b/backend/controllers/teleservices/index.ts index a188695c64..e09a69be2c 100644 --- a/backend/controllers/teleservices/index.ts +++ b/backend/controllers/teleservices/index.ts @@ -20,7 +20,7 @@ const teleservices = [ { name: "ccas_saint_louis_preprod", class: OpenFiscaResponse, - public: true, + public: false, destination: { label: "Transférer les informations", url: "https://agrums.acadis.re/agrum/analyse-des-droits/{{token}}", @@ -46,6 +46,7 @@ const teleservices = [ { name: "PNDS", class: PNDS, + public: true, destination: { url: "https://www.mesdroitssociaux.gouv.fr?token={{token}}", }, @@ -91,7 +92,7 @@ const teleservices = [ url: "/api/proxy/ds?token={{token}}", }, }, -] +].filter((service) => service.public === true) function createClass(teleservice, simulation, query) { // Create object dynamically, and apply constructor diff --git a/data/benefits/openfisca/saint_louis_eligibilite_residence.yml b/data/benefits/openfisca/saint_louis_eligibilite_residence.yml index e10f4b4916..318fc005d5 100644 --- a/data/benefits/openfisca/saint_louis_eligibilite_residence.yml +++ b/data/benefits/openfisca/saint_louis_eligibilite_residence.yml @@ -8,3 +8,4 @@ type: bool entity: menages openfiscaPeriod: thisMonth periodicite: autre +private: true