diff --git a/App/Commands/Mail/MailConsumer.php b/App/Commands/Mail/MailConsumer.php deleted file mode 100644 index 1bec050..0000000 --- a/App/Commands/Mail/MailConsumer.php +++ /dev/null @@ -1,33 +0,0 @@ -consume(function (MessageInterface $message) { - // The workers that will work for NotificationQueue are defined in Message. - - return true; - }); - - return Command::SUCCESS; - } - - public function configure(): void - { - $this->setDescription("Sends the emails in the queue."); - } - -} diff --git a/App/Commands/SMS/SMSConsumer.php b/App/Commands/NotificationConsumer.php similarity index 66% rename from App/Commands/SMS/SMSConsumer.php rename to App/Commands/NotificationConsumer.php index 31bcbdc..8cfc169 100644 --- a/App/Commands/SMS/SMSConsumer.php +++ b/App/Commands/NotificationConsumer.php @@ -1,15 +1,15 @@