#27 - separate fields for name and surname

This commit is contained in:
Adrian Hopek
2022-01-24 12:06:36 +01:00
parent e147d24365
commit 816af23ce4
17 changed files with 125 additions and 48 deletions

View File

@@ -14,7 +14,7 @@ class UserResource extends JsonResource
{
return [
"id" => $this->id,
"name" => $this->name,
"name" => $this->fullName,
"email" => $this->email,
"role" => "Human Resources Manager",
"avatar" => asset($this->avatar),