From eb0175df51a177a78c134a5861aa6734ca759b0c Mon Sep 17 00:00:00 2001 From: Martin Kaeser Date: Thu, 4 May 2023 11:06:37 +0200 Subject: [PATCH] fix(pool-api): Fix typo --- .../eclipse/tractusx/bpdm/pool/api/client/PoolClientImpl.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bpdm-pool-api/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/api/client/PoolClientImpl.kt b/bpdm-pool-api/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/api/client/PoolClientImpl.kt index e0ba1839c..2f2e389a0 100644 --- a/bpdm-pool-api/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/api/client/PoolClientImpl.kt +++ b/bpdm-pool-api/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/api/client/PoolClientImpl.kt @@ -35,13 +35,12 @@ class PoolClientImpl( .builder(WebClientAdapter.forClient(webClientProvider())) .customArgumentResolver(ParameterObjectArgumentResolver()) .build() - } private val poolClientAddress by lazy { httpServiceProxyFactory.createClient(PoolAddressApi::class.java) } private val poolClientBpn by lazy { httpServiceProxyFactory.createClient(PoolBpnApi::class.java) } - private val oolClientBusinessPartner by lazy { httpServiceProxyFactory.createClient(PoolBusinessPartnerApi::class.java) } + private val poolClientBusinessPartner by lazy { httpServiceProxyFactory.createClient(PoolBusinessPartnerApi::class.java) } private val poolClientLegalEntity by lazy { httpServiceProxyFactory.createClient(PoolLegalEntityApi::class.java) } private val poolClientMetadata by lazy { httpServiceProxyFactory.createClient(PoolMetadataApi::class.java) } private val poolClientSite by lazy { httpServiceProxyFactory.createClient(PoolSiteApi::class.java) } @@ -53,7 +52,7 @@ class PoolClientImpl( override fun bpns() = poolClientBpn - override fun businessPartners() = oolClientBusinessPartner + override fun businessPartners() = poolClientBusinessPartner override fun legalEntities() = poolClientLegalEntity