diff --git a/app/models/champs/rnf_champ.rb b/app/models/champs/rnf_champ.rb index 9ebabe1b0..56850c55f 100644 --- a/app/models/champs/rnf_champ.rb +++ b/app/models/champs/rnf_champ.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class Champs::RNFChamp < Champ - store_accessor :data, :title, :email, :phone, :createdAt, :updatedAt, :dissolvedAt, :address, :status + store_accessor :data, :title, :email, :phone, :createdAt, :updatedAt, :dissolvedAt, :address def rnf_id external_id&.gsub(/[[:space:]]/, '') diff --git a/app/schemas/rnf.json b/app/schemas/rnf.json index 866821090..b17244751 100644 --- a/app/schemas/rnf.json +++ b/app/schemas/rnf.json @@ -30,7 +30,6 @@ "regionName":{ "type": "string" }, "regionCode":{ "type": "string" } }, - "status": { "type": ["string", "null"] }, "persons": { "type": "array" } } } diff --git a/config/initializers/02_urls.rb b/config/initializers/02_urls.rb index 44446a8ce..8dc3211e7 100644 --- a/config/initializers/02_urls.rb +++ b/config/initializers/02_urls.rb @@ -9,7 +9,7 @@ API_GEO_URL = ENV.fetch("API_GEO_URL", "https://geo.api.gouv.fr") API_PARTICULIER_URL = ENV.fetch("API_PARTICULIER_URL", "https://particulier.api.gouv.fr/api") API_TCHAP_URL = ENV.fetch("API_TCHAP_URL", "https://matrix.agent.tchap.gouv.fr/_matrix/identity/api/v1") API_COJO_URL = ENV.fetch("API_COJO_URL", nil) -API_RNF_URL = ENV.fetch("API_RNF_URL", "https://rnf.dso.numerique-interieur.com") +API_RNF_URL = ENV.fetch("API_RNF_URL", "https://rnf.apps.app1.numerique-interieur.com") API_RECHERCHE_ENTREPRISE_URL = ENV.fetch("API_RECHERCHE_ENTREPRISE_URL", "https://recherche-entreprises.api.gouv.fr") HELPSCOUT_API_URL = ENV.fetch("HELPSCOUT_API_URL", "https://api.helpscout.net/v2") SENDINBLUE_API_URL = ENV.fetch("SENDINBLUE_API_URL", "https://in-automate.sendinblue.com/api/v2")