mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 13:54:30 -04:00
Add line break to log message
This commit is contained in:
parent
9bd9b6313d
commit
3d0d416b24
@ -254,7 +254,7 @@ class ClientController extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (request()->json) {
|
if (request()->json) {
|
||||||
return dispatch(new \App\Jobs\Client\GenerateStatementData($client, request()->all()));
|
return dispatch(new GenerateStatementData($client, request()->all()));
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
|
@ -377,7 +377,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
if (Utils::isNinjaProd() && ! Utils::isReseller()) {
|
if (Utils::isNinjaProd() && ! Utils::isReseller()) {
|
||||||
$copy = json_decode( json_encode($data), true);
|
$copy = json_decode( json_encode($data), true);
|
||||||
$copy['data'] = false;
|
$copy['data'] = false;
|
||||||
$logMessage = date('r') . ' account_id: ' . $account->id . ' ' . json_encode($copy);
|
$logMessage = date('r') . ' account_id: ' . $account->id . ' ' . json_encode($copy) . "\n\n";
|
||||||
@file_put_contents(storage_path('logs/invoice-repo.log'), $logMessage, FILE_APPEND);
|
@file_put_contents(storage_path('logs/invoice-repo.log'), $logMessage, FILE_APPEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user