Skip to content

Commit

Permalink
add params to teams to use paginator
Browse files Browse the repository at this point in the history
  • Loading branch information
caseycs committed Jun 19, 2024
1 parent 4041bd8 commit 66a0c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Github/Api/Organization/Teams.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
*/
class Teams extends AbstractApi
{
public function all($organization)
public function all($organization, array $params = [])
{
return $this->get('/orgs/'.rawurlencode($organization).'/teams');
return $this->get('/orgs/'.rawurlencode($organization).'/teams', $params);
}

public function create($organization, array $params)
Expand Down

0 comments on commit 66a0c69

Please sign in to comment.