Fix owner attribute
This commit is contained in:
parent
a0c6028230
commit
3cf207b350
|
@ -44,7 +44,7 @@ class HandleInertiaRequests extends Middleware
|
||||||
'first_name' => $request->user()->first_name,
|
'first_name' => $request->user()->first_name,
|
||||||
'last_name' => $request->user()->last_name,
|
'last_name' => $request->user()->last_name,
|
||||||
'email' => $request->user()->email,
|
'email' => $request->user()->email,
|
||||||
'role' => $request->user()->role,
|
'owner' => $request->user()->owner,
|
||||||
'account' => [
|
'account' => [
|
||||||
'id' => $request->user()->account->id,
|
'id' => $request->user()->account->id,
|
||||||
'name' => $request->user()->account->name,
|
'name' => $request->user()->account->name,
|
||||||
|
|
Loading…
Reference in New Issue