Revert "Fix API Entreprise call"

This reverts commit 7deb228477.
This commit is contained in:
Pierre de La Morinerie 2019-04-30 17:19:46 +02:00
parent 16f01033ab
commit b74fdd3cc8

View file

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