mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Add default includes to transformers
This commit is contained in:
parent
74994364ec
commit
2faff4eb05
@ -27,6 +27,7 @@ class CompanyGatewayTransformer extends EntityTransformer
|
||||
* @var array
|
||||
*/
|
||||
protected $defaultIncludes = [
|
||||
'gateway'
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -26,7 +26,7 @@ class PaymentTransformer extends EntityTransformer
|
||||
protected $serializer;
|
||||
|
||||
protected $defaultIncludes = [
|
||||
// 'invoices'
|
||||
'paymentables',
|
||||
'documents',
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user