Skip to content

Commit

Permalink
Revert "Include legislator activity in the API response"
Browse files Browse the repository at this point in the history
This reverts commit 03f9f7f.
  • Loading branch information
waldoj committed Feb 11, 2024
1 parent 03f9f7f commit d23a686
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions htdocs/1.1/legislator.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,6 @@
}
}

# Create a new statistics object.
$stats = new Statistics();
$activity = $stats->legislator_activity($legislator['id']);
if ($activity !== false) {
$legislator['activity'] = $activity;
}

# We publicly call the shortname the "ID," so swap them out.
$legislator['rs_id'] = $legislator['id'];
$legislator['id'] = $legislator['shortname'];
Expand Down

0 comments on commit d23a686

Please sign in to comment.