Fix for regression
Fixes an issue where client statements were not generating. using dispatch_now fixes this as the returning object is not a boolean, but the required payload.
This commit is contained in:
parent
b71f32a3af
commit
14ed415051
|
|
@ -264,7 +264,7 @@ class ClientController extends BaseController
|
|||
}
|
||||
|
||||
if (request()->json) {
|
||||
return dispatch(new GenerateStatementData($client, request()->all()));
|
||||
return dispatch_now(new GenerateStatementData($client, request()->all()));
|
||||
}
|
||||
|
||||
$data = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue