fix(api_entreprise): raison_sociale can be nil

This commit is contained in:
Paul Chavard 2023-06-01 13:42:54 +02:00
parent 00ec116b64
commit 35f4c9f48b

View file

@ -58,6 +58,10 @@ module Types
object.nom_commercial || ''
end
def raison_sociale
object.raison_sociale || ''
end
def code_effectif_entreprise
# we need this in order to bypass Hashie::Dash deserialization issue on nil values
object.code_effectif_entreprise