diff --git a/app/Jobs/SendEmailJob.php b/app/Jobs/SendEmailJob.php index 839ddda9..a04aa466 100644 --- a/app/Jobs/SendEmailJob.php +++ b/app/Jobs/SendEmailJob.php @@ -22,7 +22,7 @@ class SendEmailJob implements ShouldQueue */ public function __construct($params) { - $this->onQueue = 'send_email'; + $this->onQueue('send_email'); $this->params = $params; }