Skip to content

Commit 236163a

Browse files
authored
ApiController: using dispatchSync()
fixes #19
1 parent 3e739ab commit 236163a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/ApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ protected function executeJob($request, $jobClass, $params)
250250
*/
251251
protected function dispatchJob($request, $job, $params)
252252
{
253-
$result = $this->dispatch($job);
253+
$result = $this->dispatchSync($job);
254254
return $this->standardResponse($result, $this->customMessage ? $this->customMessage : $this->defaultMessage);
255255
}
256256

0 commit comments

Comments
 (0)