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

Return user for /connected_account

This commit is contained in:
David Bomba 2021-03-12 07:07:52 +11:00
parent 23e4a3bcee
commit 57ef1c9b78
2 changed files with 4 additions and 5 deletions

View File

@ -25,7 +25,7 @@ DEMO_MODE=false
BROADCAST_DRIVER=log
LOG_CHANNEL=stack
CACHE_DRIVER=file
QUEUE_CONNECTION=database
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

View File

@ -134,10 +134,9 @@ class ConnectedAccountController extends BaseController
auth()->user()->save();
//$ct = CompanyUser::whereUserId(auth()->user()->id);
$ct = CompanyUser::whereUserId(auth()->user()->id);
return $this->listResponse($ct);
// return $this->listResponse(auth()->user());
//return $this->listResponse($ct);
return $this->listResponse(auth()->user());
}
return response()