mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 02:04:33 -04: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
|
BROADCAST_DRIVER=log
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
QUEUE_CONNECTION=database
|
QUEUE_CONNECTION=sync
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
SESSION_LIFETIME=120
|
SESSION_LIFETIME=120
|
||||||
|
|
||||||
|
@ -134,10 +134,9 @@ class ConnectedAccountController extends BaseController
|
|||||||
auth()->user()->save();
|
auth()->user()->save();
|
||||||
|
|
||||||
//$ct = CompanyUser::whereUserId(auth()->user()->id);
|
//$ct = CompanyUser::whereUserId(auth()->user()->id);
|
||||||
$ct = CompanyUser::whereUserId(auth()->user()->id);
|
//return $this->listResponse($ct);
|
||||||
|
|
||||||
return $this->listResponse($ct);
|
return $this->listResponse(auth()->user());
|
||||||
// return $this->listResponse(auth()->user());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return response()
|
return response()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user