mirror of
https://github.com/valitydev/claim-management-api.git
synced 2024-11-06 01:05:18 +00:00
commit
21fd51b809
@ -22,7 +22,7 @@ class InternationalLegalEntityConverter :
|
||||
.setRegisteredNumber(value.registeredNumber)
|
||||
.setTradingName(value.tradingName)
|
||||
.setCountry(
|
||||
if (value.country.isNotEmpty())
|
||||
if (!value.country.isNullOrEmpty())
|
||||
CountryRef(CountryCode.valueOf(value.country))
|
||||
else null
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user