diff --git a/lib/Github/Api/Organization/Teams.php b/lib/Github/Api/Organization/Teams.php index 20bb2791a7a..31a86867748 100644 --- a/lib/Github/Api/Organization/Teams.php +++ b/lib/Github/Api/Organization/Teams.php @@ -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)