activityQueries->latest(10); return [ 'activity' => $activity, ]; } }