From 7075ec5096d13617078bacc02d095309400cbcb8 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 9 Dec 2020 07:12:10 +1100 Subject: [PATCH] Reorder default includes --- app/Transformers/CompanyUserTransformer.php | 2 +- app/Transformers/UserTransformer.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Transformers/CompanyUserTransformer.php b/app/Transformers/CompanyUserTransformer.php index 85dfda97f1..111cf0e409 100644 --- a/app/Transformers/CompanyUserTransformer.php +++ b/app/Transformers/CompanyUserTransformer.php @@ -23,7 +23,7 @@ class CompanyUserTransformer extends EntityTransformer * @var array */ protected $defaultIncludes = [ - 'user', + // 'user', ]; /** diff --git a/app/Transformers/UserTransformer.php b/app/Transformers/UserTransformer.php index 27e08b6d7e..99f4519253 100644 --- a/app/Transformers/UserTransformer.php +++ b/app/Transformers/UserTransformer.php @@ -26,8 +26,7 @@ class UserTransformer extends EntityTransformer * @var array */ protected $defaultIncludes = [ - //'company_users', - // 'token', + //'company_user' ]; /**