Skip to content

Commit

Permalink
fix(gate):fixed method DocumentMappingService.toAddressDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaralexandremorais committed Jun 28, 2023
1 parent d307de2 commit 2207446
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class DocumentMappingService {

fun toAddressDoc(address: AlternativePostalAddress): AddressDoc {
return AddressDoc(
administrativeAreas = setOf(TextDoc(address.administrativeAreaLevel2.toString())),
administrativeAreas = setOf(TextDoc(address.administrativeAreaLevel1.toString())),
postCodes = setOf(TextDoc(address.postCode.toString())),
localities = setOf(TextDoc("")),
thoroughfares = setOf(TextDoc("")),
Expand Down

0 comments on commit 2207446

Please sign in to comment.