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:
David Bomba 2019-11-14 22:09:43 +11:00 committed by GitHub
parent b71f32a3af
commit 14ed415051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,7 @@ class ClientController extends BaseController
} }
if (request()->json) { if (request()->json) {
return dispatch(new GenerateStatementData($client, request()->all())); return dispatch_now(new GenerateStatementData($client, request()->all()));
} }
$data = [ $data = [