We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f79fb97 commit 1cf4940Copy full SHA for 1cf4940
lib/Github/Api/Organization/Teams.php
@@ -89,7 +89,7 @@ public function addRepository($team, $username, $repository, $params = array())
89
$params['permission'] = 'pull';
90
}
91
92
- return $this->put('/teams/'.rawurlencode($team).'/repos/'.rawurlencode($username).'/'.rawurlencode($repository));
+ return $this->put('/teams/'.rawurlencode($team).'/repos/'.rawurlencode($username).'/'.rawurlencode($repository), $params);
93
94
95
public function removeRepository($team, $username, $repository)
0 commit comments