diff --git a/packages/Webkul/Core/src/Core.php b/packages/Webkul/Core/src/Core.php index d82f557ef..e19d3d6e6 100755 --- a/packages/Webkul/Core/src/Core.php +++ b/packages/Webkul/Core/src/Core.php @@ -327,7 +327,7 @@ class Core { $targetCurrency = !$targetCurrencyCode ? $this->getCurrentCurrency() - : $this->currencyRepository->findByField('code', $targetCurrencyCode); + : $this->currencyRepository->findOneByField('code', $targetCurrencyCode); if (! $targetCurrency) return $amount;