fix(api_entreprise): raison_sociale can be nil
This commit is contained in:
parent
00ec116b64
commit
35f4c9f48b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue