Add missing spaces

This commit is contained in:
gregoirenovel 2018-03-19 15:25:49 +01:00
parent de483ac0f6
commit 94a257f5b0

View file

@ -10,8 +10,8 @@ class SIRETService
exercices_array = ApiEntreprise::ExercicesAdapter.new(siret, procedure_id).to_array
params = etablissement_params
.merge(entreprise_params.map { |k,v| ["entreprise_#{k}", v] }.to_h)
.merge(association_params&.map { |k,v| ["association_#{k}", v] }.to_h)
.merge(entreprise_params.map { |k, v| ["entreprise_#{k}", v] }.to_h)
.merge(association_params&.map { |k, v| ["association_#{k}", v] }.to_h)
.merge(exercices_attributes: exercices_array)
# This is to fill legacy models and relationships