whereHas('staff') ->whereHas('role', fn ($query) => $query->where('type', '!=', 'superadmin')) ->where('is_active', true) ->orderBy('first_name') ->orderBy('last_name') ->get(); return response()->json([ 'creators' => $creators ]); } }