diff --git a/app/helpers.php b/app/helpers.php index ce7b89a2..c64dfe09 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -171,6 +171,6 @@ if (!function_exists('execute')) { */ function execute($command) { - app(Dispatcher::class)->execute($command); + return app(Dispatcher::class)->dispatchNow($command); } }