Update AdminModeratedProfileResource

This commit is contained in:
Daniel Supernault 2024-10-15 04:31:40 -06:00
parent 6fc2dd07d4
commit dcddc72c86
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -2,9 +2,9 @@
namespace App\Http\Resources\Admin;
use App\Profile;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
use App\Profile;
class AdminModeratedProfileResource extends JsonResource
{
@ -22,6 +22,7 @@ class AdminModeratedProfileResource extends JsonResource
'username' => $profile->username,
];
}
return [
'id' => $this->id,
'domain' => $this->domain,