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:
parent
23e4a3bcee
commit
57ef1c9b78
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user