Skip to content

Commit 8e26e71

Browse files
authored
Change dispatch() to dispatch_now()
1 parent a8f79d0 commit 8e26e71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/TunnelerCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TunnelerCommand extends Command {
1919

2020
public function handle(){
2121
try {
22-
$result = dispatch(new CreateTunnel());
22+
$result = dispatch_now(new CreateTunnel());
2323
}catch (\ErrorException $e){
2424
$this->error($e->getMessage());
2525
return 1;
@@ -38,4 +38,4 @@ public function handle(){
3838
$this->warn('I have no idea how this happened. Let me know if you figure it out.');
3939
return 1;
4040
}
41-
}
41+
}

0 commit comments

Comments
 (0)