mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 13:03:16 +00:00
Update AdminModeratedProfileResource
This commit is contained in:
parent
c0478f5f8f
commit
80ee8a7414
1 changed files with 3 additions and 0 deletions
|
@ -19,7 +19,10 @@ class AdminModeratedProfileResource extends JsonResource
|
|||
$profile = Profile::withTrashed()->find($this->profile_id);
|
||||
if ($profile) {
|
||||
$profileObj = [
|
||||
'name' => $profile->name,
|
||||
'username' => $profile->username,
|
||||
'username_str' => explode('@', $profile->username)[1],
|
||||
'remote_url' => $profile->remote_url,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue