Skip to content

Commit

Permalink
fix user profile resource
Browse files Browse the repository at this point in the history
  • Loading branch information
mazfreelance committed Oct 7, 2022
1 parent 8efc630 commit bdd0a62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Containers/v1/User/Resources/Profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ public function toArray($request)
'id' => $this->id,
'name' => $this->name,
'email' => Helper::maskEmail($this->email),
'role' => $this->roles->pluck('name'),
'verify_status' => $this->verify_status->value,
'verify_status_description' => $this->verify_status->description,
'status' => $this->status->value,
'status_description' => $this->status->description,
'last_login_at' => $this->last_login_at,
'email_verified_at' => $this->email_verified_at,
'email_verified_at' => $this->email_verified_at
];
}
}

0 comments on commit bdd0a62

Please sign in to comment.