Fix owner attribute

This commit is contained in:
Jonathan Reinink 2021-02-27 08:10:23 -05:00
parent a0c6028230
commit 3cf207b350
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class HandleInertiaRequests extends Middleware
'first_name' => $request->user()->first_name,
'last_name' => $request->user()->last_name,
'email' => $request->user()->email,
'role' => $request->user()->role,
'owner' => $request->user()->owner,
'account' => [
'id' => $request->user()->account->id,
'name' => $request->user()->account->name,