This commit is contained in:
Adrian Hopek
2022-03-07 13:05:49 +01:00
parent 5d64ad9d2a
commit b2f08f61b7
10 changed files with 137 additions and 59 deletions

View File

@@ -16,7 +16,8 @@ class UserResource extends JsonResource
"id" => $this->id,
"name" => $this->fullName,
"email" => $this->email,
"role" => $this->role->label(),
"displayRole" => $this->role->label(),
"role" => $this->role,
"position" => $this->position,
"avatar" => $this->getAvatar(),
"deleted" => $this->trashed(),