Fix API Entreprise call

This commit is contained in:
simon lehericey 2019-04-30 10:27:35 +02:00
parent 0c6b5c63d5
commit 7deb228477

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)