Skip to content

Commit

Permalink
Merge pull request #2303 from codeeu/dev
Browse files Browse the repository at this point in the history
DispatchSync
  • Loading branch information
alainvd authored Oct 18, 2024
2 parents c27f9b5 + 9b3d646 commit e6521ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ParticipationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function generate(Request $request): RedirectResponse
$participation->save();

//Dispatch Job
GenerateCertificatesOfParticipation::dispatch($participation);
GenerateCertificatesOfParticipation::dispatchSync($participation);

return redirect()->route('certificates');

Expand Down

0 comments on commit e6521ff

Please sign in to comment.