From 7deb228477f32e23a07b2122b99158e66862cd80 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Tue, 30 Apr 2019 10:27:35 +0200 Subject: [PATCH] Fix API Entreprise call --- app/lib/api_entreprise/api.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/lib/api_entreprise/api.rb b/app/lib/api_entreprise/api.rb index 79b2cc766..1f0f52fd4 100644 --- a/app/lib/api_entreprise/api.rb +++ b/app/lib/api_entreprise/api.rb @@ -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)