1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

fix for regression

This commit is contained in:
David Bomba 2020-08-24 15:19:58 +10:00
parent 66499a9a31
commit eef91513d0

View File

@ -31,12 +31,7 @@ use App\Models\Project;
use App\Models\Quote;
use App\Models\SystemLog;
use App\Models\Task;
use App\Models\TaxRate; public function includeSystemLogs(Company $company)
{
$transformer = new SystemLogTransformer($this->serializer);
return $this->includeCollection($company->system_logs, $transformer, SystemLog::class);
}
use App\Models\TaxRate;
use App\Models\User;
use App\Models\Webhook;
use App\Transformers\CompanyLedgerTransformer;