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');