mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 08:14:44 -04:00
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) {
|
if (request()->json) {
|
||||||
return dispatch(new GenerateStatementData($client, request()->all()));
|
return dispatch_now(new GenerateStatementData($client, request()->all()));
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user