remove insee_api_v3 feature

This commit is contained in:
simon lehericey 2021-04-06 14:37:04 +02:00
parent 06d2eb2d21
commit cd4ad6878c
2 changed files with 1 additions and 8 deletions

View file

@ -113,13 +113,7 @@ class APIEntreprise::API
end
def self.url(resource_name, siret_or_siren)
base_url = [API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/")
if Flipper.enabled?(:insee_api_v3)
base_url += "?with_insee_v3=true"
end
base_url
[API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/")
end
def self.params(siret_or_siren, procedure_id, user_id)

View file

@ -31,7 +31,6 @@ features = [
:dossier_pdf_vide,
:expert_not_allowed_to_invite,
:hide_instructeur_email,
:insee_api_v3,
:instructeur_bypass_email_login_token,
:localization,
:make_experts_notifiable,