From 9b3d646c25d67eb7aca7d9effd9cb74caf6844f3 Mon Sep 17 00:00:00 2001 From: Alain Van Driessche Date: Fri, 18 Oct 2024 15:51:25 +0200 Subject: [PATCH] DispatchSync --- app/Http/Controllers/ParticipationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ParticipationController.php b/app/Http/Controllers/ParticipationController.php index d9d7261eb..3ba3fd89e 100644 --- a/app/Http/Controllers/ParticipationController.php +++ b/app/Http/Controllers/ParticipationController.php @@ -52,7 +52,7 @@ public function generate(Request $request): RedirectResponse $participation->save(); //Dispatch Job - GenerateCertificatesOfParticipation::dispatch($participation); + GenerateCertificatesOfParticipation::dispatchSync($participation); return redirect()->route('certificates');