Fix amount thing.

This commit is contained in:
James Cole
2023-12-31 17:18:54 +01:00
parent a49cf1fd3d
commit 51ca8277bb
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ class BudgetRepository implements BudgetRepositoryInterface
$limitRepository = app(BudgetLimitRepository::class);
$limitRepository->setUser($this->user);
$budgets = $this->getActiveBudgets();
$defaultCurrency = Amount::getDefaultCurrencyByUser($this->user);
$defaultCurrency = app('amount')->getDefaultCurrency();
$converter = new ExchangeRateConverter();
/** @var Budget $budget */