mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +00:00
Refactor phpstan errors.
This commit is contained in:
@@ -131,7 +131,7 @@ class PiggyBankTransformer extends AbstractTransformer
|
||||
$this->notes[$id] = $note;
|
||||
}
|
||||
|
||||
$this->default = app('amount')->getDefaultCurrencyByUser(auth()->user());
|
||||
$this->default = app('amount')->getDefaultCurrencyByUserGroup(auth()->user()->userGroup);
|
||||
$this->converter = new ExchangeRateConverter();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user