Skip to content

Commit

Permalink
feat: add name to user resource (#6174)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored May 31, 2022
1 parent afbb90f commit 8465803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Resources/Account/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function toArray($request)
'object' => 'user',
'first_name' => $this->first_name,
'last_name' => $this->last_name,
'name' => $this->name,
'email' => $this->email,
'me_contact' => new ContactShortResource($this->me),
'timezone' => $this->timezone,
Expand Down

0 comments on commit 8465803

Please sign in to comment.