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

@@ -73,7 +73,7 @@ class StoreController extends Controller
{
$currency = $this->repository->store($request->getAll());
if (true === $request->boolean('default')) {
$this->repository->makeDefault($currency);
$this->repository->makePrimary($currency);
app('preferences')->mark();
}
$manager = $this->getManager();