From e4d49510ba9e64e67091cb4d7c405d2ec56ee692 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Tue, 26 Jun 2018 07:36:16 +0100 Subject: [PATCH] Console commands need to use dispatch still --- app/Console/Commands/BeaconCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/BeaconCommand.php b/app/Console/Commands/BeaconCommand.php index c3a446a0..5045f642 100644 --- a/app/Console/Commands/BeaconCommand.php +++ b/app/Console/Commands/BeaconCommand.php @@ -42,6 +42,6 @@ class BeaconCommand extends Command */ public function fire() { - execute(new SendBeaconJob()); + dispatch(new SendBeaconJob()); } }