From e2314359b971d5d8ce5959daeb39fa375f701cd6 Mon Sep 17 00:00:00 2001 From: = Date: Sat, 20 Mar 2021 11:54:47 +1100 Subject: [PATCH] Pass back the correct entity! --- app/Http/Controllers/ConnectedAccountController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ConnectedAccountController.php b/app/Http/Controllers/ConnectedAccountController.php index 9a6c07155d..03347318d6 100644 --- a/app/Http/Controllers/ConnectedAccountController.php +++ b/app/Http/Controllers/ConnectedAccountController.php @@ -21,9 +21,9 @@ use Illuminate\Http\Request; class ConnectedAccountController extends BaseController { - protected $entity_type = CompanyUser::class; + protected $entity_type = User::class; - protected $entity_transformer = CompanyUserTransformer::class; + protected $entity_transformer = UserTransformer::class; public function __construct() {