Merge pull request #9118 from tchak/fix-raison-sociale
fix(api_entreprise): raison_sociale can be nil
This commit is contained in:
commit
87b5d3b1ed
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