From 3119ff0a8d1be23e7aa9fcbfddc88f4409646d38 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 20 Mar 2022 16:34:09 +0100 Subject: [PATCH] remove user from InitializeJob constructor --- app/Initialize/InitializeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Initialize/InitializeController.php b/app/Initialize/InitializeController.php index b95764fc..a5e47b10 100644 --- a/app/Initialize/InitializeController.php +++ b/app/Initialize/InitializeController.php @@ -15,7 +15,7 @@ class InitializeController extends Controller public function store(): RedirectResponse { - InitializeJob::dispatch(auth()->user()); + InitializeJob::dispatch(); return redirect()->route('home'); }