From 8a66249b3d1bbfbd088d124d277bd18f1ef5a9a2 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 8 Nov 2023 20:06:23 +0100 Subject: [PATCH] Attempt at fixing https://github.com/firefly-iii/firefly-iii/issues/8137 --- app/Support/Steam.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Support/Steam.php b/app/Support/Steam.php index 8d2d36109d..4f2e29d43f 100644 --- a/app/Support/Steam.php +++ b/app/Support/Steam.php @@ -33,6 +33,7 @@ use FireflyIII\Models\TransactionCurrency; use FireflyIII\Repositories\Account\AccountRepositoryInterface; use FireflyIII\Support\Http\Api\ExchangeRateConverter; use Illuminate\Support\Collection; +use Illuminate\Support\Facades\Log; use JsonException; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; @@ -175,7 +176,7 @@ class Steam // use foreign amount: $amount = $foreignModified; } - + Log::debug(sprintf('Trying to add %s and %s.', var_export($currentBalance, true), var_export($amount, true))); $currentBalance = bcadd($currentBalance, $amount); $carbon = new Carbon($entry->date, config('app.timezone')); $date = $carbon->format('Y-m-d');