This commit is contained in:
James Cole
2025-06-02 05:39:43 +02:00
parent ec94f1bcf1
commit c5cbceb81a
4 changed files with 9 additions and 10 deletions

View File

@@ -79,12 +79,12 @@ class ExchangeRateConverter
public function getCurrencyRate(TransactionCurrency $from, TransactionCurrency $to, Carbon $date): string
{
if (false === $this->enabled()) {
Log::debug('ExchangeRateConverter: disabled, return "1".');
// Log::debug('ExchangeRateConverter: disabled, return "1".');
return '1';
}
if ($from->id === $to->id) {
Log::debug('ExchangeRateConverter: From and to are the same, return "1".');
// Log::debug('ExchangeRateConverter: From and to are the same, return "1".');
return '1';
}