api_entreprise: revert to API v2

Fix a production error
This commit is contained in:
Pierre de La Morinerie 2019-04-03 10:18:11 +00:00
parent df74118c46
commit 10e1408a88

View file

@ -40,9 +40,7 @@ class ApiEntreprise::API
end
def self.url(resource_name, siret_or_siren)
base_url = [API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/")
"#{base_url}?with_insee_v3=true"
[API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/")
end
def self.params(siret_or_siren, procedure_id)