Rename method from default to primary.

This commit is contained in:
James Cole
2025-08-15 14:33:14 +02:00
parent 946e272d1c
commit 87d292ca27
10 changed files with 14 additions and 15 deletions

View File

@@ -112,7 +112,7 @@ class NewUserController extends Controller
$this->createCashWalletAccount($currency, $language); // create cash wallet account
// store currency preference:
$currencyRepository->makeDefault($currency);
$currencyRepository->makePrimary($currency);
// store frontpage preferences:
$accounts = $this->repository->getAccountsByType([AccountTypeEnum::ASSET->value])->pluck('id')->toArray();