Skip to content

Commit 7074616

Browse files
authored
Merge pull request #20 from luezoidtechnologies/19-v10-fix-dispatch-job-call-in-apicontroller
ApiController: using dispatchSync()
2 parents 3e739ab + 236163a commit 7074616

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)