Rename method.

This commit is contained in:
James Cole
2025-07-31 20:17:46 +02:00
parent 65a926874b
commit 210bd83bd4
39 changed files with 61 additions and 61 deletions

View File

@@ -49,7 +49,7 @@ class PiggyBankObserver
return;
}
$userCurrency = app('amount')->getNativeCurrencyByUserGroup($group);
$userCurrency = app('amount')->getPrimaryCurrencyByUserGroup($group);
$piggyBank->native_target_amount = null;
if ($piggyBank->transactionCurrency->id !== $userCurrency->id) {
$converter = new ExchangeRateConverter();