Change some code.

This commit is contained in:
James Cole 2024-01-28 14:34:07 +01:00
parent b4133b6512
commit b47bb13558
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -46,7 +46,7 @@ class CategoryController extends Controller
$this->middleware(
function ($request, $next) {
/** @var User $user */
$user = auth()->user();
$user = auth()->user();
$this->repository = app(CategoryRepositoryInterface::class);
$this->repository->setUser($user);