diff --git a/app/Http/Resources/Admin/AdminModeratedProfileResource.php b/app/Http/Resources/Admin/AdminModeratedProfileResource.php index fd9bf85d1..47b75496f 100644 --- a/app/Http/Resources/Admin/AdminModeratedProfileResource.php +++ b/app/Http/Resources/Admin/AdminModeratedProfileResource.php @@ -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, ]; }