Update AdminModeratedProfileResource

pull/5338/head
Daniel Supernault 6 months ago
parent c0478f5f8f
commit 80ee8a7414
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -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…
Cancel
Save