Skip to content

Commit

Permalink
feat(api): eclipse-tractusx#172 Rename BPN fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rainer-exxcellent committed Jun 1, 2023
1 parent 6202ae1 commit 118f93a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ fun LegalEntity.toUpsertDto(entryId: String?): LegalEntityPartnerCreateResponse
)
}

fun LegalEntity.toDto(): PoolLegalEntityResponse {
return PoolLegalEntityResponse(
fun LegalEntity.toDto(): LegalEntityResponse {
return LegalEntityResponse(
bpnl = bpn,
identifiers = identifiers.map { it.toDto() },
legalName = legalName.value,
Expand Down

0 comments on commit 118f93a

Please sign in to comment.