Beautiful Open-Source Form Builder
Refactor FormSpamCheckListener to remove explicit queue dispatch
JhumanJ86534084312b
diff --git a/api/app/Listeners/Forms/FormSpamCheckListener.php b/api/app/Listeners/Forms/FormSpamCheckListener.phpindex 381e034cf..a78bf3848 100644--- a/api/app/Listeners/Forms/FormSpamCheckListener.php+++ b/api/app/Listeners/Forms/FormSpamCheckListener.php@@ -10,6 +10,6 @@ class FormSpamCheckListenerpublic function handle(FormSaved $event): void{// We can add logic here to not queue for certain users if needed- CheckFormForSpam::dispatch($event->form)->onQueue('default');+ CheckFormForSpam::dispatch($event->form);}}